@Override
    public void write(DataWriter out) throws IOException {
        // write GUID as big-endian
        ByteOrder order = out.order();
        out.order(ByteOrder.BIG_ENDIAN);
        out.writeLong(uuid.getMostSignificantBits());
        out.writeLong(uuid.getLeastSignificantBits());
        out.order(order);
    }
@author Nico Bergemann <barracuda415 at yahoo.de>
disunity-core/src/main/java/info/ata4/junity/UnityGUID.java