Edit

ArcBufferReader Struct

Definition

Provides reader access to an ArcBufferWriter.

public readonly struct ArcBufferReader
type ArcBufferReader = struct
Public Structure ArcBufferReader
Inheritance
ArcBufferReader

Constructors

Name Description
ArcBufferReader(ArcBufferWriter)

Provides reader access to an ArcBufferWriter.

Properties

Name Description
Length

Gets the number of unconsumed bytes.

Methods

Name Description
Consume(Span<Byte>)

Consumes the amount of data present in the span.

ConsumeSlice(Int32)

Consumes a slice of the provided length.

Peek(Span<Byte>)

Attempts to read the provided number of bytes from the buffer.

PeekSlice(Int32)

Returns a slice of the provided length without marking the data referred to it as consumed.

Skip(Int32)

Applies to