myReadWindowBuffer.flip();
    public void skipWindow(FSFile file) throws SVNException {        myReadWindowBuffer = clearBuffer(myReadWindowBuffer);        myReadWindowBuffer = ensureBufferSize(myReadWindowBuffer, 4096);        long position = 0;        try {            position = file.position();            file.read(myReadWindowBuffer);        } catch (IOException e) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.SVNDIFF_CORRUPT_WINDOW);            SVNErrorManager.error(err, e);        }        if (readLongOffset(myReadWindowBuffer) < 0) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.SVNDIFF_CORRUPT_WINDOW);            SVNErrorManager.error(err);        }        if (readOffset(myReadWindowBuffer) < 0) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.SVNDIFF_CORRUPT_WINDOW);            SVNErrorManager.error(err);        }        if (readOffset(myReadWindowBuffer) < 0) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.SVNDIFF_CORRUPT_WINDOW);            SVNErrorManager.error(err);        }        int instructionsLength = readOffset(myReadWindowBuffer);        int dataLength = readOffset(myReadWindowBuffer);        if (instructionsLength < 0 || dataLength < 0) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.SVNDIFF_CORRUPT_WINDOW);            SVNErrorManager.error(err);        }        position += myReadWindowBuffer.position();        file.seek(position + dataLength + instructionsLength);        myReadWindowBuffer = clearBuffer(myReadWindowBuffer);    }