ec_base64_encode_space

March 26, 2020 Contributors

Name

ec_base64_encode_space — Returns the number of bytes required to Base64 encode a string

Synopsis

#include "util.h"

| int **ec_base64_encode_space** ( | len); |   |

int <var class="pdparam">len</var>;

Description

Returns the number of bytes required to Base64 encode a string.

Parameters

len

The length of the string to Base64 encode, in bytes.

Return Values

This function returns the number of bytes required to Base64 encode a string.

Threading

It is legal to call this function in any thread.

See Also

ec_base64_encode, ec_base64_decode, and ec_base64_decode_space.