Class StreamReadSource
public sealed class StreamReadSource : IParquetReadSource, IDisposable
- Inheritance
-
StreamReadSource
- Implements
- Inherited Members
Constructors
StreamReadSource(Stream)
public StreamReadSource(Stream stream)
Parameters
streamStream
Properties
Length
Gets the source length in bytes.
public ulong Length { get; }
Property Value
Methods
Dispose()
Closes the stream this source is currently pointed at.
public void Dispose()
ReadExactly(ulong, Span<byte>)
Reads bytes from the source at the specified offset until the destination is filled.
public void ReadExactly(ulong offset, Span<byte> destination)
Parameters
offsetulongThe zero-based source offset to read from.
destinationSpan<byte>The destination buffer to fill.
Reset(Stream)
public void Reset(Stream stream)
Parameters
streamStream