Interface DataConsumer

All Known Implementing Classes:
ByteArrayDataConsumer, DataNodeDataConsumer, FillByteArrayDataConsumer, FillByteBufferDataConsumer, OutputStreamDataConsumer, SkipDataConsumer

public interface DataConsumer
DataConsumer
Version:
0.0.1
Author:
scx567888
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(byte[] bytes, int position, int length)
     
  • Method Details

    • accept

      boolean accept(byte[] bytes, int position, int length)
      Parameters:
      bytes - 字节
      position - 起始位置
      length - 长度
      Returns:
      是否需要更多数据