read24

open fun read24(bin: @NotNull Array<Byte>): @NotNull Array<Int>

Reads a 24x16 glyph from a byte array of length 96, where each byte is a hex digit.

Return

The glyph as an int array, where each int is a row in the glyph texture. Only the first 24 least significant bits of each int are used, where the most significant bit is the leftmost pixel.

Parameters

bin

The byte array