SpanBufferWriter
struct
Namespace: Orleans.Serialization.Buffers.Adaptors
A special-purpose
System.Buffers.IBufferWriter implementation for supporting System.Span in Orleans.Serialization.Buffers.Writer. public struct SpanBufferWriter : IBufferWriter<byte>Properties
BytesWrittenGets the number of bytes written.
Methods
Advance(int)Notifies theSystem.Buffers.IBufferWriterthatcountdata items were written to the outputSystem.SpanorSystem.Memory.GetMemory(int)Returns aSystem.Memoryto write to that is at least the requested size (specified bysizeHint).GetSpan(int)Returns aSystem.Spanto write to that is at least the requested size (specified bysizeHint).
