Language

IBufferWriter Interface

Definition

Represents an output sink into which T data can be written.

generic 
public interface class IBufferWriter
public interface IBufferWriter
type IBufferWriter<'T> = interface
Public Interface IBufferWriter(Of T)

Type Parameters

T

The type of the items in the IBufferWriter.

Derived

Methods

Name Description
Advance(Int32)

Notifies the IBufferWriter that count data items were written to the output Span or Memory.

GetMemory(Int32)

Returns a Memory to write to that is at least the requested size (specified by sizeHint).

GetSpan(Int32)

Returns a Span to write to that is at least the requested size (specified by sizeHint).

Extension Methods

Name Description
Write(IBufferWriter, ReadOnlySpan)

Writes the contents of value to writer.

Applies to