ArcBufferReader
struct
Namespace: Orleans.Serialization.Buffers
Provides reader access to an
ArcBufferWriter. public readonly struct ArcBufferReaderConstructors
ArcBufferReader(ArcBufferWriter)Provides reader access to anArcBufferWriter.
Properties
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 slice of the provided length without marking the data referred to it as consumed.Skip(int)TryReadTo(ArcBuffer, byte, bool)Reads through the next occurrence ofdelimiter.
