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