determineConsecutiveDigitCount

Determines the number of consecutive characters that are encodable using numeric compaction.

Return

the requested character count

Parameters

msg

the message

startpos

the start position within the message