 | Utf8StringParse(ReadOnlySpanByte, IFormatProvider) Method |
Parses a span of UTF-8 characters into a value.
Namespace: Ookii.Jumbo.IOAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static Utf8String Parse(
ReadOnlySpan<byte> utf8Text,
IFormatProvider? provider
)
Public Shared Function Parse (
utf8Text As ReadOnlySpan(Of Byte),
provider As IFormatProvider
) As Utf8String
public:
static Utf8String^ Parse(
ReadOnlySpan<unsigned char> utf8Text,
IFormatProvider^ provider
)
static member Parse :
utf8Text : ReadOnlySpan<byte> *
provider : IFormatProvider -> Utf8String
Parameters
- utf8Text ReadOnlySpanByte
- The span of UTF-8 characters to parse.
- provider IFormatProvider
- An object that provides culture-specific formatting information about utf8Text.
Return Value
Utf8StringThe result of parsing
utf8Text.
Implements
IUtf8SpanParsable.Parse(ReadOnlySpanByte, IFormatProvider)
Exceptions
See Also