PoolingStreamBufferWriter Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An implementation of IBufferWriter<T> for writing to a Stream, using pooled arrays as an intermediate buffer.
public struct PoolingStreamBufferWriter : IDisposable, System.Buffers.IBufferWriter<byte>
type PoolingStreamBufferWriter = struct
interface IBufferWriter<byte>
interface IDisposable
Public Structure PoolingStreamBufferWriter
Implements IBufferWriter(Of Byte), IDisposable
- Inheritance
-
PoolingStreamBufferWriter
- Implements
Methods
Advance(Int32) | Notifies the IBufferWriter<T> that |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
GetMemory(Int32) | Returns a Memory<T> to write to that is at least the requested size (specified by |
GetSpan(Int32) | Returns a Span<T> to write to that is at least the requested size (specified by |