#include "ut_types.h"Go to the source code of this file.
Functions | |
| ABI_EXPORT bool | UT_Base64Encode (UT_ByteBuf *pDest, const UT_ByteBuf *pSrc) |
| ABI_EXPORT bool | UT_Base64Decode (UT_ByteBuf *pDest, const UT_ByteBuf *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 | ( | UT_ByteBuf * | pDest, | |
| const UT_ByteBuf * | pSrc | |||
| ) |
References d, UT_ByteBuf::getLength(), UT_ByteBuf::getPointer(), UT_ByteBuf::ins(), UT_ByteBuf::overwrite(), s_inverse, s_pad, UT_ByteBuf::truncate(), and UT_ASSERT.
Referenced by PD_Document::createDataItem().
| ABI_EXPORT bool UT_Base64Encode | ( | UT_ByteBuf * | pDest, | |
| const UT_ByteBuf * | pSrc | |||
| ) |
References d, UT_ByteBuf::getLength(), UT_ByteBuf::getPointer(), UT_ByteBuf::ins(), UT_ByteBuf::overwrite(), s_alphabet, s_pad, UT_ByteBuf::truncate(), 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().
1.7.1