Class MemoryReadSource
public sealed class MemoryReadSource : IParquetReadSource, IDisposable
- Inheritance
-
MemoryReadSource
- Implements
- Inherited Members
Constructors
MemoryReadSource(ReadOnlyMemory<byte>)
public MemoryReadSource(ReadOnlyMemory<byte> bytes)
Parameters
bytesReadOnlyMemory<byte>
Properties
Length
Gets the source length in bytes.
public ulong Length { get; }
Property Value
Methods
Dispose()
Does nothing: this source borrows memory and holds no operating-system resource.
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)