FontHelper Class

Definition

Provides segment mappings for hexadecimal digits and certain ASCII characters

public static class FontHelper
type FontHelper = class
Public Class FontHelper
Inheritance
FontHelper

Fields

HexadecimalMask

Used to mask upper 4 bits of a byte for a single hexadecimal value

Methods

ConvertHexDigits(Span<Byte>)

Converts a span of bytes to their corresponding hexadecimal digits' font representation

ConvertString(ReadOnlySpan<Char>, Span<Font>)

Convert a string of characters to corresponding fonts

GetCharacter(Char)

Convert character value to corresponding font segments

GetHexDigit(Byte)

Convert byte value hexadecimal digit (0..F) to corresponding font bits

GetHexDigits(ReadOnlySpan<Byte>)

Converts a span of bytes to their corresponding hexadecimal digits' font representation

GetString(String)

Convert a string of characters to corresponding font segments

Applies to