#include <string.h>
#include "wbxml.h"
Include dependency graph for wbxml_base64.c:
Go to the source code of this file.
Functions | |
unsigned char * | wbxml_base64_encode (const unsigned char *buffer, int len) |
int | wbxml_base64_decode (const unsigned char *buffer, unsigned char **result) |
Variables | |
const unsigned char | pr2six [256] |
const char | basis_64 [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
Definition in file wbxml_base64.c.
|
Definition at line 113 of file wbxml_base64.c. References NULL, pr2six, WB_LONG, WB_UTINY, and wbxml_malloc(). |
|
Definition at line 71 of file wbxml_base64.c. References basis_64, NULL, WB_LONG, WB_UTINY, and wbxml_malloc(). |
|
Base64 table Definition at line 63 of file wbxml_base64.c. Referenced by wbxml_base64_encode(). |
|
Initial value: { 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 62, 64, 64, 64, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 64, 64, 64, 64, 64, 64, 64, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 64, 64, 64, 64, 64, 64, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64 } Definition at line 41 of file wbxml_base64.c. Referenced by wbxml_base64_decode(). |