#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) |
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 | |||
) |
References d, s_alphabet, s_pad, and UT_ASSERT.
Referenced by s_AbiWord_1_Listener::_handleDataItems().
ABI_EXPORT bool UT_UTF8_Base64Decode | ( | char *& | binptr, | |
size_t & | binlen, | |||
const char *& | b64ptr, | |||
size_t & | b64len | |||
) |
References s_UTF8_B64Decode(), s_UTF8_B64Pad, UT_UCS4_isspace(), and UT_Unicode::UTF8_to_UCS4().
Referenced by UT_Multipart::append_Base64(), XAP_InternalResource::buffer(), and IE_Imp_XHTML::importDataURLImage().
ABI_EXPORT bool UT_UTF8_Base64Encode | ( | char *& | b64ptr, | |
size_t & | b64len, | |||
const char *& | binptr, | |||
size_t & | binlen | |||
) |
References s_UTF8_B64Alphabet, and s_UTF8_B64Pad.
Referenced by IE_Exp_HTML_DataExporter::encodeDataBase64(), and XAP_InternalResource::write_base64().