Given the input length, inlen, calculate the needed output length to perform an encoding or decoding step.
an input length
the maximum number of bytes needed to encode or decode a buffer of inlen bytes.
Given the input length, inlen, calculate the needed output length to perform an encoding or decoding step.