public class ByteArrayByteChunkCollector extends Object implements ByteChunkSplitterCollector<byte[]>
| Constructor and Description |
|---|
ByteArrayByteChunkCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(byte[] bytes,
int start,
int length)
Encode a single item and store in a data structure potentially shared with other items.
|
byte[] |
encode(byte[] bytes,
int start,
int length)
Encode a single item
|
List<byte[]> |
toList() |
public byte[] encode(byte[] bytes,
int start,
int length)
ByteChunkSplitterCollectorencode in interface ByteChunkSplitterCollector<byte[]>public void collect(byte[] bytes,
int start,
int length)
ByteChunkSplitterCollectorcollect in interface ByteChunkSplitterCollector<byte[]>public List<byte[]> toList()
toList in interface ByteChunkSplitterCollector<byte[]>Copyright © 2009–2021. All rights reserved.