|
commore
1.0.6-SNAPSHOT
|
#include <string.h>#include "commore/Blob.h"#include "commore/IOBStream.h"#include "commore/StringBuffer.h"#include "commore/AString.h"#include "commore/List.h"#include "commore/Path.h"#include "commore/Error.h"#include "System.h"#include "ListImpl.h"Functions | |
| CMR_FILE_DECLARE () | |
| CMREXD OBStream & | operator<< (OBStream &o, const commore::Blob &blob) |
| CMREXD IBStream & | operator>> (IBStream &i, commore::Blob &blob) |
| bool | isWhiteSpace (int octect) |
| bool | isPad (int octect) |
| bool | isData (int octect) |
| bool | isBase64 (int octect) |
| long | BinToB64 (unsigned char *binaryData, size_t size, OBStream &o) |
| long | B64ToBin (const char *base64Data, size_t len, unsigned char *decodedData) |
| CMR_LIST_IMPL (Blob) | |
Variables | |
| const int | BASELENGTH = 255 |
| const int | LOOKUPLENGTH = 64 |
| const int | TWENTYFOURBITGROUP = 24 |
| const int | EIGHTBIT = 8 |
| const int | SIXTEENBIT = 16 |
| const int | SIXBIT = 6 |
| const int | FOURBYTE = 4 |
| const int | SIGN = -128 |
| const char | PAD = '=' |
| const bool | fDebug = false |
| long B64ToBin | ( | const char * | base64Data, |
| size_t | len, | ||
| unsigned char * | decodedData | ||
| ) |
| long BinToB64 | ( | unsigned char * | binaryData, |
| size_t | size, | ||
| OBStream & | o | ||
| ) |
| CMR_FILE_DECLARE | ( | ) |
| CMR_LIST_IMPL | ( | Blob | ) |
| bool isBase64 | ( | int | octect | ) |
| bool isData | ( | int | octect | ) |
| bool isPad | ( | int | octect | ) |
| bool isWhiteSpace | ( | int | octect | ) |
| CMREXD OBStream& operator<< | ( | OBStream & | o, |
| const commore::Blob & | blob | ||
| ) |
| CMREXD IBStream& operator>> | ( | IBStream & | i, |
| commore::Blob & | blob | ||
| ) |
| const int BASELENGTH = 255 |
This class provides encode/decode for RFC 2045 Base64 as defined by RFC 2045, N. Freed and N. Borenstein. RFC 2045: Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. Reference 1996 Available at: http://www.ietf.org/rfc/rfc2045.txt This class is used by XML Schema binary format validation
| const int EIGHTBIT = 8 |
| const bool fDebug = false |
| const int FOURBYTE = 4 |
| const int LOOKUPLENGTH = 64 |
| const char PAD = '=' |
| const int SIGN = -128 |
| const int SIXBIT = 6 |
| const int SIXTEENBIT = 16 |
| const int TWENTYFOURBITGROUP = 24 |