@Override
    public void write(DataWriter out) throws IOException {
        out.writeUnsignedInt(metadataSize);
        out.writeUnsignedInt(fileSize);
        out.writeInt(version);
        out.writeUnsignedInt(dataOffset);
        if (version >= 9) {
            out.writeByte(endianness);
            out.writeBytes(reserved);
        }
    }
@author Nico Bergemann <barracuda415 at yahoo.de>
@unity SerializedFileHeader
disunity-core/src/main/java/info/ata4/junity/serialize/SerializedFileHeader.java