Conservative text bound for a nonnegative safe-integer byte limit.
Uses 1.38 > log(256) / log(58), rounded up with room for leading zeros.
Very large limits saturate at Number.MAX_SAFE_INTEGER. This bound is a
precheck; text within it can still decode to more than the byte limit.
Conservative text bound for a nonnegative safe-integer byte limit.
Uses 1.38 > log(256) / log(58), rounded up with room for leading zeros. Very large limits saturate at Number.MAX_SAFE_INTEGER. This bound is a precheck; text within it can still decode to more than the byte limit.