public interface ChunkHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handle(byte[] input,
int offset,
int count,
java.io.OutputStream output)
Processes the given chunk of data and writes it to the output stream.
|
void handle(byte[] input,
int offset,
int count,
java.io.OutputStream output)
throws java.io.IOException
input - Chunk of input data to process.offset - Offset into input array where data to process starts.count - Number of bytes of input data to process.output - Output stream where processed data is written.java.io.IOException - On IO errors.