S
- the separator typeD
- the data typepublic interface ChunkStream<S,D>
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<Chunk<S,D>> |
chunks()
Return a stream of chunks.
|
Chunk<S,D> |
readChunk()
Reads a single chunk from stream.
|