public interface DiffWriter extends Closeable
void addCopy(long offset,
int length)
throws IOException
IOExceptionvoid addData(byte b)
throws IOException
IOExceptionvoid flush()
throws IOException
IOExceptionvoid close()
throws IOException
DiffWriter will invoke this method at the end.close in interface AutoCloseableclose in interface CloseableIOException