Code

blind fix for endianness, needs testing by someone on a big-endian machine