Function amdinfer::util::minEncodeLength

Function Documentation

constexpr size_t amdinfer::util::minEncodeLength(size_t length)

Compute the minimum space needed for a base64-encoded string. Base64 produces 4 output bytes for every 3 input bytes.

Parameters

length – length of the string to encode

Returns

constexpr size_t