Utf8Formatter 類別

定義

提供靜態方法將常見資料型態格式化為 Utf8 字串。

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

方法

名稱 Description
TryFormat(Boolean, Span<Byte>, Int32, StandardFormat)

將 a Boolean 格式化為 UTF8 字串。

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

將 a Byte 格式化為 UTF8 字串。

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

將 a DateTime 格式化為 UTF8 字串。

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

將 a DateTimeOffset 格式化為 UTF8 字串。

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

將 a Decimal 格式化為 UTF8 字串。

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

將 a Double 格式化為 UTF8 字串。

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

將 a Guid 格式化為 UTF8 字串。

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

格式化 a Int16 為 UTF8 字串。

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

格式化 a Int32 為 UTF8 字串。

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

格式化 a Int64 為 UTF8 字串。

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

格式化 a SByte 為 UTF8 字串。

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

將 a Single 格式化為 UTF8 字串。

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

將 a TimeSpan 格式化為 UTF8 字串。

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

將 a UInt16 格式化為 UTF8 字串。

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

將 a UInt32 格式化為 UTF8 字串。

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

將 a UInt64 格式化為 UTF8 字串。

適用於