Class OutputStreamByteConsumer

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

public class OutputStreamByteConsumer extends Object implements ByteConsumer
写入到输出流中
Version:
0.0.1
Author:
scx567888
  • Constructor Details

    • OutputStreamByteConsumer

      public OutputStreamByteConsumer(OutputStream out)
  • Method Details

    • accept

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

      public long byteCount()