Edit

Share via


IUtf8SpanFormattable Interface

Definition

Provides functionality to format the string representation of an object into a span as UTF-8.

C#
public interface IUtf8SpanFormattable
Derived

Methods

TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tries to format the value of the current instance as UTF-8 into the provided span of bytes.

Applies to

Product Versions
.NET 8, 9