to find the type of node you must read the first 8 bits of the node thus requiring a "generic_node" type that has the magic(the identification) number at byte 1.