Click or drag to resize

Utf8StringParse(ReadOnlySpanChar, IFormatProvider) Method

Parses a span of characters into a value.

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public static Utf8String Parse(
	ReadOnlySpan<char> s,
	IFormatProvider? provider
)

Parameters

s  ReadOnlySpanChar
The span of characters to parse.
provider  IFormatProvider
An object that provides culture-specific formatting information about s.

Return Value

Utf8String
The result of parsing s.

Implements

ISpanParsableTSelfParse(ReadOnlySpanChar, IFormatProvider)
Exceptions
ExceptionCondition
FormatExceptions is not in the correct format.
OverflowExceptions is not representable by TSelf.
See Also