Edit

Share via


IUtf8SpanParsable<TSelf> Interface

Definition

Defines a mechanism for parsing a span of UTF-8 characters to a value.

C#
public interface IUtf8SpanParsable<TSelf> where TSelf : IUtf8SpanParsable<TSelf>

Type Parameters

TSelf

The type that implements this interface.

Derived

Methods

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Parses a span of UTF-8 characters into a value.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

Tries to parse a span of UTF-8 characters into a value.

Applies to

Product Versions
.NET 8, 9