Add endianness parsing