Class FillByteBufferDataConsumer
java.lang.Object
cool.scx.io.data_consumer.FillByteBufferDataConsumer
- All Implemented Interfaces:
DataConsumer
填充方式
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FillByteBufferDataConsumer
-
-
Method Details
-
accept
public boolean accept(byte[] bytes, int position, int length) - Specified by:
acceptin interfaceDataConsumer- Parameters:
bytes- 字节position- 起始位置length- 长度- Returns:
- 是否需要更多数据
-
getFilledLength
public int getFilledLength()
-