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 © 2016 JBoss by Red Hat. All rights reserved.