strlen will give us the byte count not bits.

The error message was a slightly inaccurate.