Functions

ut_base64.h File Reference

#include "ut_types.h"
#include "ut_bytebuf.h"

Go to the source code of this file.

Functions

ABI_EXPORT bool UT_Base64Encode (const UT_ByteBufPtr &pDest, const UT_ConstByteBufPtr &pSrc)
ABI_EXPORT bool UT_Base64Decode (const UT_ByteBufPtr &pDest, const UT_ConstByteBufPtr &pSrc)
ABI_EXPORT bool UT_UTF8_Base64Encode (char *&b64ptr, size_t &b64len, const char *&binptr, size_t &binlen)
ABI_EXPORT bool UT_UTF8_Base64Decode (char *&binptr, size_t &binlen, const char *&b64ptr, size_t &b64len)

Function Documentation

ABI_EXPORT bool UT_Base64Decode ( const UT_ByteBufPtr pDest,
const UT_ConstByteBufPtr pSrc 
)

References d, s_inverse, s_pad, and UT_ASSERT.

Referenced by PD_Document::createDataItem().

ABI_EXPORT bool UT_Base64Encode ( const UT_ByteBufPtr pDest,
const UT_ConstByteBufPtr pSrc 
)
ABI_EXPORT bool UT_UTF8_Base64Decode ( char *&  binptr,
size_t &  binlen,
const char *&  b64ptr,
size_t &  b64len 
)
ABI_EXPORT bool UT_UTF8_Base64Encode ( char *&  b64ptr,
size_t &  b64len,
const char *&  binptr,
size_t &  binlen 
)