MemoryBufferWriter
struct
Namespace: Orleans.Serialization.Buffers.Adaptors
A
System.Buffers.IBufferWriter implementation for System.Memorypublic struct MemoryBufferWriter : 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).
