Class BytesDataConsumer

java.lang.Object
cool.scx.io.BytesDataConsumer
All Implemented Interfaces:
DataConsumer

public class BytesDataConsumer extends Object implements DataConsumer
  • Constructor Details

    • BytesDataConsumer

      public BytesDataConsumer()
  • Method Details

    • accept

      public void accept(byte[] bytes, int position, int length)
      Specified by:
      accept in interface DataConsumer
    • getBytes

      public byte[] getBytes()