HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Base64 Class Reference

#include <UT_Base64.h>

Static Public Member Functions

static void encode (const UT_WorkBuffer &src, UT_WorkBuffer &dst)
 
static void encode (const uint8 *src, exint src_len, UT_WorkBuffer &dst)
 
static bool decode (const UT_WorkBuffer &src, UT_WorkBuffer &dst)
 
static bool decode (const char *src, UT_WorkBuffer &dst)
 
static bool decode (UT_IStream &is, UT_WorkBuffer &dst)
 

Detailed Description

Definition at line 21 of file UT_Base64.h.

Member Function Documentation

static bool UT_Base64::decode ( const UT_WorkBuffer src,
UT_WorkBuffer dst 
)
static

Decode a base64 encoded string into binary. Returns false if decoding failed (bad input character, or wrong padding). Whitespace is ignored on parsing.

static bool UT_Base64::decode ( const char *  src,
UT_WorkBuffer dst 
)
static

Decode a base64 encoded string into binary. Returns false if decoding failed (bad input character, or wrong padding). Whitespace is ignored on parsing.

static bool UT_Base64::decode ( UT_IStream is,
UT_WorkBuffer dst 
)
static

Decode a base64 encoded string into binary. Returns false if decoding failed (bad input character, or wrong padding). Whitespace is ignored on parsing.

static void UT_Base64::encode ( const UT_WorkBuffer src,
UT_WorkBuffer dst 
)
static

Encode a stream of binary into base64 encoding. If the input is not a multiple of three, padding is added to indicate proper size.

static void UT_Base64::encode ( const uint8 src,
exint  src_len,
UT_WorkBuffer dst 
)
static

Encode a stream of binary into base64 encoding. If the input is not a multiple of three, padding is added to indicate proper size.


The documentation for this class was generated from the following file: