LcdCharacterEncodingFactory.ConvertFont5to8bytes Method

Definition

Convert a 5 bytes array with 8 bits vertically encoded character representation into a 8 bytes array with the lower 5 bits.

public static byte[] ConvertFont5to8bytes (ReadOnlySpan<byte> font5);
static member ConvertFont5to8bytes : ReadOnlySpan<byte> -> byte[]
Public Shared Function ConvertFont5to8bytes (font5 As ReadOnlySpan(Of Byte)) As Byte()

Parameters

font5
ReadOnlySpan<Byte>

A span of bytes, must be 5 bytes length

Returns

Byte[]

A 8 bytes array containing the character

Applies to