Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Buffers.​Text.​Utf8Parser

Assembly: System.Memory

Inheritance: object → Utf8Parser

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

Methods

public static bool
TryParse​(ReadOnlySpan<​byte> source, Boolean& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, Byte& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, DateTime& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, DateTimeOffset& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, Decimal& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, Double& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, Guid& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, Int16& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, Int32& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, Int64& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, SByte& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, Single& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, TimeSpan& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, UInt16& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, UInt32& value, Int32& bytesConsumed, char standardFormat = �)
public static bool
TryParse​(ReadOnlySpan<​byte> source, UInt64& value, Int32& bytesConsumed, char standardFormat = �)
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object