public interface ChunkHandler
Modifier and Type | Method and Description |
---|---|
void |
handle(byte[] input,
int offset,
int count,
OutputStream output)
Processes the given chunk of data and writes it to the output stream.
|
void handle(byte[] input, int offset, int count, OutputStream output) throws 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.IOException
- On IO errors.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.