Show / Hide Table of Contents

Interface IBufferReader

Represents buffer reader.

Namespace: DotNext.Buffers.Binary
Assembly: DotNext.IO.dll
Syntax
public interface IBufferReader

Properties

View Source

RemainingBytes

The expected number of bytes to be consumed by 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

Methods

View Source

Apply(scoped ReadOnlySpan<byte>)

Consumes a buffer.

Declaration
void Apply(scoped ReadOnlySpan<byte> buffer)
Parameters
Type Name Description
ReadOnlySpan<byte> buffer

The buffer to consume.

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
☀
☾