ROOT logo
// @(#)root/base:$Id: TBase64.h 28641 2009-05-15 15:20:08Z rdm $
// Author: Gerardo Ganis + Fons Rademakers   15/5/2009

/*************************************************************************
 * Copyright (C) 1995-2009, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TBase64
#define ROOT_TBase64

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TBase64                                                              //
//                                                                      //
// This code implements the Base64 encoding and decoding.               //
// Base64 encoded messages are typically used in authentication         //
// protocols and to pack binary data in HTTP messages.                  //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif


class TBase64 {

public:
   virtual ~TBase64() { }

   static TString Encode(const char *data);
   static TString Encode(const char *data, Int_t len);
   static TString Decode(const char *data);

   ClassDef(TBase64,0)  // Base64 encoding/decoding
};

#endif
 TBase64.h:1
 TBase64.h:2
 TBase64.h:3
 TBase64.h:4
 TBase64.h:5
 TBase64.h:6
 TBase64.h:7
 TBase64.h:8
 TBase64.h:9
 TBase64.h:10
 TBase64.h:11
 TBase64.h:12
 TBase64.h:13
 TBase64.h:14
 TBase64.h:15
 TBase64.h:16
 TBase64.h:17
 TBase64.h:18
 TBase64.h:19
 TBase64.h:20
 TBase64.h:21
 TBase64.h:22
 TBase64.h:23
 TBase64.h:24
 TBase64.h:25
 TBase64.h:26
 TBase64.h:27
 TBase64.h:28
 TBase64.h:29
 TBase64.h:30
 TBase64.h:31
 TBase64.h:32
 TBase64.h:33
 TBase64.h:34
 TBase64.h:35
 TBase64.h:36
 TBase64.h:37
 TBase64.h:38
 TBase64.h:39
 TBase64.h:40
 TBase64.h:41
 TBase64.h:42
 TBase64.h:43
 TBase64.h:44
 TBase64.h:45