read8

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

Reads a 8x16 glyph from a byte array of length 32, 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 8 least significant bits of each int are used, where the most significant bit is the leftmost pixel.

Parameters

bin

The byte array