Adding old code

Endian swapping, CRC32, typeid