Class ChunkSampleStream
public class ChunkSampleStream : FilterObjectStream<Parse?, ChunkSample?>, IObjectStream<ChunkSample?>, IDisposable
- Inheritance
-
ChunkSampleStream
- Implements
- Inherited Members
Constructors
ChunkSampleStream(IObjectStream<Parse?>)
public ChunkSampleStream(IObjectStream<Parse?> @in)
Parameters
inIObjectStream<Parse>
Methods
GetInitialChunks(Parse)
public static Parse[] GetInitialChunks(Parse p)
Parameters
pParse
Returns
- Parse[]
Read()
Returns the next object. Calling this method repeatedly until it returns
null will return each object from the underlying source exactly once.
public override ChunkSample? Read()
Returns
- ChunkSample
the next object or
nullto signal that the stream is exhausted
Exceptions
- IOException
if there is an error during reading
- IOException
if there is an error during reading