Luna::base64_get_encoded_size

constexpr usize base64_get_encoded_size(usize raw_size)

Get the encoded base64 string size from the raw data size.

Parameters

  • in raw_size

    The size of the raw binary data in bytes.

Return value

The size of the encoded string in bytes. The string size does not include the null-terminator.