SVNDiffInstruction.writeInt(offsets, mySourceViewOffset);
SVNDiffInstruction.writeLong(offsets, mySourceViewOffset);
    public void writeTo(OutputStream os, boolean writeHeader) throws IOException {        if (writeHeader) {            os.write(SVN_HEADER);        }        if (!hasInstructions()) {            return;        }        ByteBuffer offsets = ByteBuffer.allocate(100);        SVNDiffInstruction.writeInt(offsets, mySourceViewOffset);        SVNDiffInstruction.writeInt(offsets, mySourceViewLength);        SVNDiffInstruction.writeInt(offsets, myTargetViewLength);        SVNDiffInstruction.writeInt(offsets, myInstructionsLength);        SVNDiffInstruction.writeInt(offsets, myNewDataLength);        os.write(offsets.array(), 0, offsets.position());        // write instructions        os.write(myData, myDataOffset, myInstructionsLength);        if (myNewDataLength > 0) {            os.write(myData, myDataOffset + myInstructionsLength, myNewDataLength);        }    }