PoolingStreamBufferWriter
struct
Namespace: Orleans.Serialization.Buffers.Adaptors
An implementation of
System.Buffers.IBufferWriter for writing to a System.IO.Stream, using pooled arrays as an intermediate buffer. public struct PoolingStreamBufferWriter : IBufferWriter<byte>, IDisposableMethods
Advance(int)Notifies theSystem.Buffers.IBufferWriterthatcountdata items were written to the outputSystem.SpanorSystem.Memory.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.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).
