Interface ByteChunkSplitterCollector<T>

All Known Implementing Classes:
ByteArrayByteChunkCollector, CrlfStringByteChunkCollector

public interface ByteChunkSplitterCollector<T>
  • Method Summary

    Modifier and Type Method Description
    void collect​(byte[] bytes, int start, int length)
    Encode a single item and store in a data structure potentially shared with other items.
    T encode​(byte[] bytes, int start, int length)
    Encode a single item
    List<T> toList()  
  • Method Details

    • encode

      T encode​(byte[] bytes, int start, int length)
      Encode a single item
    • collect

      void collect​(byte[] bytes, int start, int length)
      Encode a single item and store in a data structure potentially shared with other items.
    • toList

      List<T> toList()