<PackageReference Include="System.Text.Json" Version="8.0.0-rc.1.23419.4" />

HexConverter

static class HexConverter
public enum Casing

public static ReadOnlySpan<byte> CharToHexLookup { get; }

public static void EncodeToUtf16(ReadOnlySpan<byte> bytes, Span<char> chars, Casing casing = 0)

public static int FromChar(int c)

public static int FromLowerChar(int c)

public static int FromUpperChar(int c)

public static bool IsHexChar(int c)

public static bool IsHexLowerChar(int c)

public static bool IsHexUpperChar(int c)

public static void ToBytesBuffer(byte value, Span<byte> buffer, int startingIndex = 0, Casing casing = 0)

public static char ToCharLower(int value)

public static void ToCharsBuffer(byte value, Span<char> buffer, int startingIndex = 0, Casing casing = 0)

public static char ToCharUpper(int value)

public static string ToString(ReadOnlySpan<byte> bytes, Casing casing = 0)

public static bool TryDecodeFromUtf16(ReadOnlySpan<char> chars, Span<byte> bytes)

public static bool TryDecodeFromUtf16(ReadOnlySpan<char> chars, Span<byte> bytes, out int charsProcessed)