Reading the header id as an int assumed that the current endianness was little endian. Read to a byte array to remove this assumption.
Reading the header id as an int assumed that the current endianness was little endian. Read to a byte array to remove this assumption.