Class FileToByteArraySampleStream
public class FileToByteArraySampleStream : FilterObjectStream<FileInfo?, byte[]?>, IObjectStream<byte[]?>, IDisposable
- Inheritance
-
FileToByteArraySampleStream
- Implements
- Inherited Members
Constructors
FileToByteArraySampleStream(IObjectStream<FileInfo?>)
public FileToByteArraySampleStream(IObjectStream<FileInfo?> samples)
Parameters
samplesIObjectStream<FileInfo>
Methods
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 byte[]? Read()
Returns
- byte[]
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