ArcBufferReader Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |