pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJLIB-UTIL Reference

base64.h File Reference


Detailed Description

Base64 encoding and decoding.

Go to the source code of this file.

Defines

#define PJ_BASE256_TO_BASE64_LEN(len)   (len * 4 / 3 + 3)
#define PJ_BASE64_TO_BASE256_LEN(len)   (len * 3 / 4)

Functions

pj_status_t pj_base64_encode (const pj_uint8_t *input, int in_len, char *output, int *out_len)
pj_status_t pj_base64_decode (const pj_str_t *input, pj_uint8_t *out, int *out_len)

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
(C)2001-2008 Benny Prijono