From the maxim MAX7219 data sheet, code B is described as BCD mode, where only 0-9 is decoded to the digit segments. You have to send the 8 bits, but only the lower 4 are looked at so it becomes a BCD to 7 segment decoder
From page 7 of the datasheet;
Decode-Mode Register
The decode-mode register sets BCD code B (0-9, E, H,
L, P, and -) or no-decode operation for each digit. Each
bit in the register corresponds to one digit. A logic high
selects code B decoding while logic low bypasses the
decoder. Examples of the decode mode control-regis-
ter format are shown in Table 4.
When the code B decode mode is used, the decoder
looks only at the lower nibble of the data in the digit
registers (D3–D0), disregarding bits D4–D6. D7, which
sets the decimal point (SEG DP), is independent of the
decoder and is positive logic (D7 = 1 turns the decimal
point on). Table 5 lists the code B font.
When no-decode is selected, data bits D7–D0 corre-
spond to the segment lines of the MAX7219/MAX7221.
Table 6 shows the one-to-one pairing of each data bit
to the appropriate segment line.