CharBuffer
Providers extension methods to work with char buffers.
Writes concatenated strings.
Writes concatenated strings.
public static int Format<T>(this IBufferWriter<char> writer, T value, string format = null, IFormatProvider provider = null)
Writes the value as a string.
public static int Format(this IBufferWriter<char> writer, CompositeFormat format, ReadOnlySpan<object> args, IFormatProvider provider = null)
Writes formatted string to the buffer.
public static int Format<T>(this ref BufferWriterSlim writer, T value, string format = null, IFormatProvider provider = null)
Writes the value as a string.
public static int Format(this ref BufferWriterSlim writer, CompositeFormat format, ReadOnlySpan<object> args, IFormatProvider provider = null)
Writes formatted string to the buffer.
public static int Interpolate(this IBufferWriter<char> writer, IFormatProvider provider, ref BufferWriterInterpolatedStringHandler handler)
Writes interpolated string to the buffer.
public static int Interpolate(this IBufferWriter<char> writer, ref BufferWriterInterpolatedStringHandler handler)
Writes interpolated string to the buffer.
public static int Interpolate(this ref BufferWriterSlim writer, IFormatProvider provider, ref BufferWriterSlimInterpolatedStringHandler handler)
Writes interpolated string to the buffer.
public static int Interpolate(this ref BufferWriterSlim writer, ref BufferWriterSlimInterpolatedStringHandler handler)
Writes interpolated string to the buffer.
public static bool TryFormat<T>(this ref SpanWriter writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
Converts the value to a set of characters and writes them to the buffer.
public static bool TryFormat(this ref SpanWriter writer, CompositeFormat format, ReadOnlySpan<object> args, IFormatProvider provider = null)
Tries to write formatted string to the buffer.
Writes the contents of string builder to the buffer.
Writes the contents of string builder to the buffer.
Writes the contents of a string builder to the buffer.
Writes line termination symbols to the buffer.
Writes a string to the buffer, followed by a line terminator.
Writes line termination symbols to the buffer.
Writes a string to the buffer, followed by a line terminator.