RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
base64.h File Reference

Functionality for base64 encoding/decoding. More...

#include <RDGeneral/export.h>

Go to the source code of this file.

Functions

RDKIT_DATASTRUCTS_EXPORT char * Base64Encode (const unsigned char *, const unsigned int)
 return the base64 encoding of an array of unsigned chars
 
RDKIT_DATASTRUCTS_EXPORT char * Base64Encode (const char *, const unsigned int)
 return the base64 encoding of an array of chars
 
RDKIT_DATASTRUCTS_EXPORT char * Base64Decode (const char *, unsigned int *)
 return the decoded version of a base64 encoded char array
 

Detailed Description

Functionality for base64 encoding/decoding.

Definition in file base64.h.

Function Documentation

◆ Base64Decode()

RDKIT_DATASTRUCTS_EXPORT char * Base64Decode ( const char *  ,
unsigned int *   
)

return the decoded version of a base64 encoded char array

Note: The caller is responsible for calling delete[] on the char array returned by this function.

◆ Base64Encode() [1/2]

RDKIT_DATASTRUCTS_EXPORT char * Base64Encode ( const char *  ,
const unsigned int   
)

return the base64 encoding of an array of chars

Note: The caller is responsible for calling delete[] on the char array returned by this function.

◆ Base64Encode() [2/2]

RDKIT_DATASTRUCTS_EXPORT char * Base64Encode ( const unsigned char *  ,
const unsigned int   
)

return the base64 encoding of an array of unsigned chars

Note: The caller is responsible for calling delete[] on the char array returned by this function.