The C++ framework for developing highly scalable, high performance servers on Windows platforms.

Base64.cpp File Reference


namespace  JetByteTools
namespace  JetByteTools::Core
namespace  JetByteTools::Core::Base64


void encodeblock (const unsigned char in[3], unsigned char out[4], const int len)
void decodeblock (const unsigned char in[4], unsigned char out[3])
string EncodeBytesBase64A (const BYTE *const pData, const DWORD dataLength)
string EncodeBase64A (const string &input)
size_t DecodeBytesBase64A (const string &input, BYTE *pOutput, size_t &outputLength)
size_t CalculateSpaceRequiredForDecodeBytesBase64A (const string &input)
string DecodeBase64A (const string &input)


static const
unsigned char 
cb64 [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
static const
unsigned char 
cd64 [] = "|$$$}rstuvwxyz{$$$$$$$>?@ABCDEFGHIJKLMNOPQRSTUVW$$$$$$XYZ[\\]^_`abcdefghijklmnopq"

Generated on Sun Sep 12 19:06:42 2021 for The Server Framework - v7.4 by doxygen 1.5.3