Utf8.TryWriteInterpolatedStringHandler Struct

Definition

Provides a handler used by the language compiler to format interpolated strings into UTF-8 byte spans.

public: value class Utf8::TryWriteInterpolatedStringHandler
public ref struct Utf8.TryWriteInterpolatedStringHandler
type Utf8.TryWriteInterpolatedStringHandler = struct
Public Structure Utf8.TryWriteInterpolatedStringHandler
Inheritance
Utf8.TryWriteInterpolatedStringHandler

Constructors

Utf8.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Byte>, Boolean)

Creates a handler used to write an interpolated string into a UTF-8 Span<T>.

Utf8.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Byte>, IFormatProvider, Boolean)

Creates a handler used to write an interpolated string into a UTF-8 Span<T>.

Methods

AppendFormatted(Object, Int32, String)

Writes the specified value to the handler.

AppendFormatted(ReadOnlySpan<Byte>)

Writes the specified span of UTF-8 bytes to the handler.

AppendFormatted(ReadOnlySpan<Byte>, Int32, String)

Writes the specified span of UTF-8 bytes to the handler.

AppendFormatted(ReadOnlySpan<Char>)

Writes the specified character span to the handler.

AppendFormatted(ReadOnlySpan<Char>, Int32, String)

Writes the specified string of chars to the handler.

AppendFormatted(String)

Writes the specified value to the handler.

AppendFormatted(String, Int32, String)

Writes the specified value to the handler.

AppendFormatted<T>(T)

Writes the specified value to the handler.

AppendFormatted<T>(T, Int32)

Writes the specified value to the handler.

AppendFormatted<T>(T, Int32, String)

Writes the specified value to the handler.

AppendFormatted<T>(T, String)

Writes the specified value to the handler.

AppendLiteral(String)

Writes the specified string to the handler.

Applies to