Class ByteArrayByteSupplier

java.lang.Object
cool.scx.bytes.supplier.ByteArrayByteSupplier
All Implemented Interfaces:
ByteSupplier

public class ByteArrayByteSupplier extends Object implements ByteSupplier
ByteArrayByteSupplier
Version:
0.0.1
Author:
scx567888
  • Constructor Details

    • ByteArrayByteSupplier

      public ByteArrayByteSupplier(Collection<byte[]> byteArrays)
    • ByteArrayByteSupplier

      public ByteArrayByteSupplier(byte[]... byteArrays)
    • ByteArrayByteSupplier

      public ByteArrayByteSupplier(byte[] byteArray)
  • Method Details

    • get

      public ByteChunk get()
      Description copied from interface: ByteSupplier
      获取数据 如果没有数据请返回 null
      Specified by:
      get in interface ByteSupplier
      Returns:
      数据节点 或 null