Show / Hide Table of Contents

Interface IBufferReader

Represents buffer reader.

Inherited Members
IConsumer<ReadOnlySpan<byte>>.Invoke(ReadOnlySpan<byte>)
IFunctional.DynamicInvoke(scoped ref readonly Variant, int, scoped Variant)
IFunctional.GetArgument<T>(ref readonly Variant, int)
Namespace: DotNext.Buffers
Assembly: DotNext.IO.dll
Syntax
public interface IBufferReader : IConsumer<ReadOnlySpan<byte>>, IFunctional

Properties

View Source

RemainingBytes

The expected number of bytes to be consumed this reader.

Declaration
int RemainingBytes { get; }
Property Value
Type Description
int
View Source

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

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾