myTargetFile.write("SVN\0".getBytes());
    private void writeDiffWindow(SVNDiffWindow window) throws SVNException {        try{            /* Make sure we write the header.  */            if(!isHeaderWritten){                myTargetFile.write("SVN\0".getBytes());                isHeaderWritten = true;            }            if(window == null){                return;            }            SVNDiffWindowBuilder.save(window, !isHeaderWritten, myTargetFile);            myTargetFile.write(myNewDataStream.myBuffer, 0, myNewDataStream.myBufferLength);        }catch(IOException ioe){            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.IO_ERROR, ioe.getLocalizedMessage());            SVNErrorManager.error(err, ioe);        }    }