public interface DiffWriter
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
addCopy(long offset,
int length)
Add a GDIFF copy instruction.
|
void |
addData(byte b)
Add a GDIFF data instruction.
|
void |
close()
Closes this stream.
|
void |
flush()
Flushes to output, e.g.
|
void addCopy(long offset, int length) throws java.io.IOException
java.io.IOException
void addData(byte b) throws java.io.IOException
java.io.IOException
void flush() throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
DiffWriter
will invoke this method at the end.close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException