Click or drag to resize

Utf8StringTryParse(ReadOnlySpanChar, IFormatProvider, Utf8String) Method

Tries to parse 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 bool TryParse(
	ReadOnlySpan<char> s,
	IFormatProvider? provider,
	out Utf8String result
)

Parameters

s  ReadOnlySpanChar
The span of characters to parse.
provider  IFormatProvider
An object that provides culture-specific formatting information about s.
result  Utf8String
When this method returns, contains the result of successfully parsing s, or an undefined value on failure.

Return Value

Boolean
if s was successfully parsed; otherwise, .

Implements

ISpanParsableTSelfTryParse(ReadOnlySpanChar, IFormatProvider, TSelf)
See Also