ArcBufferReader
struct
Namespace: Orleans.Serialization.Buffers
Provides reader access to an
ArcBufferWriter. public readonly struct ArcBufferReaderProperties
LengthGets the number of unconsumed bytes.
Methods
Consume(Span<byte>)Consumes the amount of data present in the span.ConsumeSlice(int)Consumes a slice of the provided length.IsNext(ReadOnlySpan<byte>, bool)Checks whether the next bytes matchnext.Peek(Span<byte>)Attempts to read the provided number of bytes from the buffer.Peek(long)Peeks at a byte at the specified offset into the unread data.PeekSlice(int)Returns a pinned slice of the provided length without marking the data referred to it as consumed.Skip(int)Advances the reader by the specified number of bytes.TryReadTo(ArcBuffer, byte, bool)Reads bytes untildelimiteris found.
