Encoding.outlen

size_t outlen(size_t inlen)

Given the input length, inlen, calculate the needed output length to perform an encoding or decoding step.

Parameters

inlenan input length

Returns

the maximum number of bytes needed to encode or decode a

buffer of inlen bytes.