Basically ensure we're converting to big endian when writing bytecode and converting from big endian when reading bytecode.