Utf8Formatter 類別

定義

提供靜態方法,將通用數據類型格式化為Utf8字串。

public ref class Utf8Formatter abstract sealed
public static class Utf8Formatter
type Utf8Formatter = class
Public Class Utf8Formatter
繼承
Utf8Formatter

方法

TryFormat(Boolean, Span<Byte>, Int32, StandardFormat)

Boolean 格式化成 UTF8 字串。

TryFormat(Byte, Span<Byte>, Int32, StandardFormat)

Byte 格式化成 UTF8 字串。

TryFormat(DateTime, Span<Byte>, Int32, StandardFormat)

DateTime 格式化成 UTF8 字串。

TryFormat(DateTimeOffset, Span<Byte>, Int32, StandardFormat)

DateTimeOffset 格式化成 UTF8 字串。

TryFormat(Decimal, Span<Byte>, Int32, StandardFormat)

Decimal 格式化成 UTF8 字串。

TryFormat(Double, Span<Byte>, Int32, StandardFormat)

Double 格式化成 UTF8 字串。

TryFormat(Guid, Span<Byte>, Int32, StandardFormat)

Guid 格式化成 UTF8 字串。

TryFormat(Int16, Span<Byte>, Int32, StandardFormat)

Int16 格式化成 UTF8 字串。

TryFormat(Int32, Span<Byte>, Int32, StandardFormat)

Int32 格式化成 UTF8 字串。

TryFormat(Int64, Span<Byte>, Int32, StandardFormat)

Int64 格式化成 UTF8 字串。

TryFormat(SByte, Span<Byte>, Int32, StandardFormat)

SByte 格式化成 UTF8 字串。

TryFormat(Single, Span<Byte>, Int32, StandardFormat)

Single 格式化成 UTF8 字串。

TryFormat(TimeSpan, Span<Byte>, Int32, StandardFormat)

TimeSpan 格式化成 UTF8 字串。

TryFormat(UInt16, Span<Byte>, Int32, StandardFormat)

UInt16 格式化成 UTF8 字串。

TryFormat(UInt32, Span<Byte>, Int32, StandardFormat)

UInt32 格式化成 UTF8 字串。

TryFormat(UInt64, Span<Byte>, Int32, StandardFormat)

UInt64 格式化成 UTF8 字串。

適用於