My Project
Functions
coding.h File Reference

Go to the source code of this file.

Functions

int Base64_Decode (const byte *in, word32 inLen, byte *out, word32 *outLen)
 This function decodes the given Base64 encoded input, in, and stores the result in the output buffer out. It also sets the size written to the output buffer in the variable outLen. More...
 
int Base64_Encode (const byte *in, word32 inLen, byte *out, word32 *outLen)
 This function encodes the given input, in, and stores the Base64 encoded result in the output buffer out. It writes the data with the traditional ‘
’ line endings, instead of escaped %0A line endings. Upon successfully completing, this function also sets outLen to the number of bytes written to the output buffer. More...
 
int Base64_EncodeEsc (const byte *in, word32 inLen, byte *out, word32 *outLen)
 This function encodes the given input, in, and stores the Base64 encoded result in the output buffer out. It writes the data with %0A escaped line endings instead of ‘
’ line endings. Upon successfully completing, this function also sets outLen to the number of bytes written to the output buffer. More...
 
int Base64_Encode_NoNl (const byte *in, word32 inLen, byte *out, word32 *outLen)
 This function encodes the given input, in, and stores the Base64 encoded result in the output buffer out. It writes the data with no new lines. Upon successfully completing, this function also sets outLen to the number of bytes written to the output buffer. More...
 
int Base16_Decode (const byte *in, word32 inLen, byte *out, word32 *outLen)
 This function decodes the given Base16 encoded input, in, and stores the result in the output buffer out. It also sets the size written to the output buffer in the variable outLen. More...
 
int Base16_Encode (const byte *in, word32 inLen, byte *out, word32 *outLen)
 Encode input to base16 output. More...