Class ByteArrayByteChunkCollector
java.lang.Object
io.datarouter.bytes.split.collect.ByteArrayByteChunkCollector
- All Implemented Interfaces:
ByteChunkSplitterCollector<byte[]>
public class ByteArrayByteChunkCollector extends Object implements ByteChunkSplitterCollector<byte[]>
-
Constructor Summary
Constructors Constructor Description ByteArrayByteChunkCollector() -
Method Summary
-
Constructor Details
-
ByteArrayByteChunkCollector
public ByteArrayByteChunkCollector()
-
-
Method Details
-
encode
public byte[] encode(byte[] bytes, int start, int length)Description copied from interface:ByteChunkSplitterCollectorEncode a single item- Specified by:
encodein interfaceByteChunkSplitterCollector<byte[]>
-
collect
public void collect(byte[] bytes, int start, int length)Description copied from interface:ByteChunkSplitterCollectorEncode a single item and store in a data structure potentially shared with other items.- Specified by:
collectin interfaceByteChunkSplitterCollector<byte[]>
-
toList
- Specified by:
toListin interfaceByteChunkSplitterCollector<byte[]>
-