BufferWriterBox<TBufferWriter>
class
Namespace: Orleans.Serialization.Buffers.Adaptors
A
System.Buffers.IBufferWriter implementation which boxes another buffer writer. public class BufferWriterBox<TBufferWriter> : IBufferWriter<byte> where TBufferWriter : struct, System.Buffers.IBufferWriter<byte>Constructors
Properties
ValueGets a reference to the underlying buffer writer.
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).
