ArcBufferWriterWrapper
struct
Namespace: Orleans.Serialization.Buffers
Wraps an
ArcBufferWriter for use as a serialization writer target. public readonly struct ArcBufferWriterWrapper : IBufferWriter<byte>Remarks
Disposing a
Orleans.Serialization.Buffers.Writer over this wrapper does not dispose the underlying ArcBufferWriter. Constructors
ArcBufferWriterWrapper(ArcBufferWriter)Wraps anArcBufferWriterfor use as a serialization writer target.
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).
