base64.h

Go to the documentation of this file.
00001 //
00002 // Copyright (C) 2002-2008 Greg Landrum and Rational Discovery LLC
00003 //
00004 //  @@ All Rights Reserved @@
00005 //
00006 #ifndef __RD_BASE64_H__
00007 #define __RD_BASE64_H__
00008 /*! \file base64.h
00009 
00010   \brief Functionality for base64 encoding/decoding
00011 
00012 */
00013 
00014 //! return the base64 encoding of an array of unsigned chars
00015 /*!
00016    <b>Note:</b> The caller is responsible for calling \c delete[] on the
00017      char array returned by this function.
00018  */
00019 char *Base64Encode(const unsigned char *,const unsigned int);
00020 
00021 //! return the base64 encoding of an array of chars
00022 /*!
00023    <b>Note:</b> The caller is responsible for calling \c delete[] on the
00024      char array returned by this function.
00025  */
00026 char *Base64Encode(const char *,const unsigned int);
00027 
00028 //! return the decoded version of a base64 encoded char array
00029 /*!
00030    <b>Note:</b> The caller is responsible for calling \c delete[] on the
00031      char array returned by this function.
00032  */
00033 char *Base64Decode(const char *,unsigned int *);
00034 
00035 #endif

Generated on Tue Oct 7 06:10:10 2008 for RDCode by  doxygen 1.5.5