Constructor and Description |
---|
Stax2Util.ByteAggregator() |
Modifier and Type | Method and Description |
---|---|
byte[] |
addFullBlock(byte[] block)
Method used to add bufferful of data to the aggregator, and
get another buffer to read more data into.
|
byte[] |
aggregateAll(byte[] lastBlock,
int lastLen)
Method called when results are finalized and we can get the
full aggregated result buffer to return to the caller
|
byte[] |
startAggregation()
Method called to initialize aggregation process.
|
public byte[] startAggregation()
public byte[] addFullBlock(byte[] block)
public byte[] aggregateAll(byte[] lastBlock, int lastLen)
Copyright © 2015 fasterxml.com. All Rights Reserved.