BRL-CAD
|
Functions | |
signed char * | bu_b64_encode (const signed char *input) |
signed char * | bu_b64_encode_block (const signed char *input, size_t length_in) |
int | bu_b64_decode (signed char **output_buffer, const signed char *input) |
int | bu_b64_decode_block (signed char **output_buffer, const signed char *input, size_t length_in) |
Functions for b64 encoding and decoding.
signed char * bu_b64_encode | ( | const signed char * | input | ) |
Encode null terminated input char array to b64.
Caller is responsible for freeing memory allocated to hold output buffer.
signed char * bu_b64_encode_block | ( | const signed char * | input, |
size_t | length_in | ||
) |
Encode length_in blocks in char array input to b64.
Caller is responsible for freeing memory allocated to hold output buffer.
int bu_b64_decode | ( | signed char ** | output_buffer, |
const signed char * | input | ||
) |
Decode null terminated b64 array to output_buffer.
Caller is responsible for freeing memory allocated to hold output buffer.
int bu_b64_decode_block | ( | signed char ** | output_buffer, |
const signed char * | input, | ||
size_t | length_in | ||
) |
Decode length_in blocks in b64 array input to output_buffer.
Caller is responsible for freeing memory allocated to hold output buffer.