BufferWriterBox<TBufferWriter> Class
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.
A IBufferWriter<T> implementation which boxes another buffer writer.
public class BufferWriterBox<TBufferWriter> : System.Buffers.IBufferWriter<byte> where TBufferWriter : struct
type BufferWriterBox<'BufferWriter (requires 'BufferWriter : struct)> = class
interface IBufferWriter<byte>
Public Class BufferWriterBox(Of TBufferWriter)
Implements IBufferWriter(Of Byte)
Type Parameters
- TBufferWriter
- Inheritance
-
BufferWriterBox<TBufferWriter>
- Implements
Constructors
BufferWriterBox<TBufferWriter>(TBufferWriter) |
Properties
Value |
Gets a reference to the underlying buffer writer. |
Methods
Advance(Int32) | Notifies the IBufferWriter<T> that |
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 |