<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="10.0.0-preview.7.25380.108" />

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 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)