Interface Chunk

    • Method Detail

      • create

        static Chunk create​(InputStream data,
                            int sizeInBytes)
        Get a default implementation of a chunk, which wraps a stream with a fixed size;
      • stream

        InputStream stream()
        Get the underlying stream of data for a chunk.
      • hasRemaining

        boolean hasRemaining()
        Whether the logical end of a chunk has been reached.