it_bus_pdk/base64_encoding.h

00001 #ifndef _IT_BUS_PDK_BASE64_ENCODING_H_
00002 #define _IT_BUS_PDK_BASE64_ENCODING_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus/types.h>
00008 
00009 namespace IT_Bus
00010 {
00011     class BinaryBuffer;
00012     
00013     class IT_AFC_API Base64Encoding
00014     {
00015       public:
00016 
00017         static void
00018         encode(
00019             String&             to_encode,
00020             const BinaryBuffer& data
00021         );
00022 
00023         static void
00024         decode(
00025             const String&       to_decode,
00026             BinaryBuffer&       data
00027         );
00028 
00029       private:
00030 
00031         // not implemented (uninstantiable utility class)
00032         Base64Encoding();
00033 
00034         static size_t
00035         lsd_length_of_encoded_array(
00036             size_t length
00037         );
00038     };
00039 }
00040 
00041 #endif  

Generated on Thu Sep 7 11:39:11 2006 for Artix by  doxygen 1.4.7