Go to the documentation of this file.
58#define BASE64_SIZE(n) ((((n) + 2) / 3) * 4)
61#define BASE64_MINSIZE(n) ((n * 4 + 2) / 3)
isize_t base64_e(char buf[], isize_t bsiz, void *data, isize_t dsiz)
Encode data with BASE64.
Definition base64.c:192
isize_t base64_d(char buf[], isize_t bsiz, char const *b64s)
Decode a BASE64-encoded string.
Definition base64.c:79
Sofia-SIP 1.12.11devel -
Copyright (C) 2006 Nokia Corporation. All rights reserved.
Licensed under the terms of the GNU Lesser General Public License.