Class FillByteArrayByteConsumer

java.lang.Object
cool.scx.bytes.consumer.FillByteArrayByteConsumer
All Implemented Interfaces:
ByteConsumer

public class FillByteArrayByteConsumer extends Object implements ByteConsumer
填充方式
Version:
0.0.1
Author:
scx567888
  • Constructor Details

    • FillByteArrayByteConsumer

      public FillByteArrayByteConsumer(byte[] data, int position, int length)
  • Method Details

    • accept

      public boolean accept(ByteChunk byteChunk)
      Specified by:
      accept in interface ByteConsumer
      Returns:
      是否需要更多数据
    • getFilledLength

      public int getFilledLength()