read16

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

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

Parameters

bin

The byte array