appendLengthInfo

fun appendLengthInfo(numLetters: Int, version: Version, mode: Mode, bits: BitArray)

Append length info. On success, store the result in "bits".