Edit

Share via


IBufferWriterExtensions Class

Definition

Helpers for working with the IBufferWriter<T> type.

public static class IBufferWriterExtensions
type IBufferWriterExtensions = class
Public Module IBufferWriterExtensions
Inheritance
IBufferWriterExtensions

Methods

AsStream(IBufferWriter<Byte>)

Returns a Stream that can be used to write to a target an IBufferWriter<T> of Byte instance.

Write<T>(IBufferWriter<Byte>, ReadOnlySpan<T>)

Writes a series of items of a specified type into a target IBufferWriter<T> instance.

Write<T>(IBufferWriter<Byte>, T)

Writes a value of a specified type into a target IBufferWriter<T> instance.

Write<T>(IBufferWriter<T>, ReadOnlySpan<T>)
Write<T>(IBufferWriter<T>, T)

Writes a value of a specified type into a target IBufferWriter<T> instance.

Applies to