8x8 LED matrix String to Byte conversion

Is this for a simple row multiplexing strobe? If so, it is insane to use any method but simply shifting a bit up or down in a byte. You will see that in 99% of matrix drivers that are not of the introductory example kind.