<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="10.0.0-rc.1.25451.107" />

HexConverter

static class HexConverter
public enum Casing

public static ReadOnlySpan<byte> CharToHexLookup { get; }

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

public static int FromChar(int c)

public static int FromLowerChar(int c)

public static bool IsHexLowerChar(int c)

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

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