Interface IBufferReader
Represents buffer reader.
Inherited Members
Namespace: DotNext.Buffers
Assembly: DotNext.IO.dll
Syntax
public interface IBufferReader : IReadOnlySpanConsumer<byte>, ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<byte>, CancellationToken, ValueTask>>
Properties
| Edit this page View SourceRemainingBytes
The expected number of bytes to be consumed this reader.
Declaration
int RemainingBytes { get; }
Property Value
Type | Description |
---|---|
int |
ThrowOnPartialData
Gets a value indicating that reader doesn't support decoding of partial data.
Declaration
public static bool ThrowOnPartialData { get; }
Property Value
Type | Description |
---|---|
bool |