Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Utf8Parser Class

Definition

Namespace:
System.Buffers.Text
Assemblies:
netstandard.dll, System.Memory.dll
Assembly:
System.Memory.dll
Assembly:
netstandard.dll
Source:
Utf8Parser.Boolean.cs
Source:
Utf8Parser.Boolean.cs
Source:
Utf8Parser.Boolean.cs
Source:
Utf8Parser.Boolean.cs
Source:
Utf8Parser.Boolean.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides static methods to parse Utf8 strings to common data types.

public ref class Utf8Parser abstract sealed
public static class Utf8Parser
type Utf8Parser = class
Public Class Utf8Parser
Inheritance
Utf8Parser

Methods

Name Description
TryParse(ReadOnlySpan<Byte>, Boolean, Int32, Char)

Parses a Boolean at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, Byte, Int32, Char)

Parses a Byte at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, DateTime, Int32, Char)

Parses a DateTime at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, DateTimeOffset, Int32, Char)

Parses a DateTimeOffset at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, Decimal, Int32, Char)

Parses a Decimal at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, Double, Int32, Char)

Parses a Double at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, Guid, Int32, Char)

Parses a Guid at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, Int16, Int32, Char)

Parses an Int16 at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, Int32, Int32, Char)

Parses an Int32 at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, Int64, Int32, Char)

Parses an Int64 at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, SByte, Int32, Char)

Parses an SByte at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, Single, Int32, Char)

Parses a Single at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, TimeSpan, Int32, Char)

Parses a TimeSpan at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, UInt16, Int32, Char)

Parses a UInt16 at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, UInt32, Int32, Char)

Parses a UInt32 at the start of a Utf8 string.

TryParse(ReadOnlySpan<Byte>, UInt64, Int32, Char)

Parses a UInt64 at the start of a Utf8 string.

Applies to


Feedback

Was this page helpful?