Logo ROOT  
Reference Guide
TBase64 Class Reference

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.

Definition at line 29 of file TBase64.h.

Public Member Functions

virtual ~TBase64 ()
 
virtual TClassIsA () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static TString Decode (const char *data)
 Decode a base64 string date into a generic TString. More...
 
static TString Encode (const char *data)
 Transform data into a null terminated base64 string. More...
 
static TString Encode (const char *data, Int_t len)
 Transform len bytes from data into a null terminated base64 string. More...
 

#include <TBase64.h>

Constructor & Destructor Documentation

◆ ~TBase64()

virtual TBase64::~TBase64 ( )
inlinevirtual

Definition at line 32 of file TBase64.h.

Member Function Documentation

◆ Class()

static TClass * TBase64::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TBase64::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static Version_t TBase64::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 38 of file TBase64.h.

◆ DeclFileName()

static const char * TBase64::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 38 of file TBase64.h.

◆ Decode()

TString TBase64::Decode ( const char *  data)
static

Decode a base64 string date into a generic TString.

No check for base64-ness of input characters.

Definition at line 131 of file TBase64.cxx.

◆ Encode() [1/2]

TString TBase64::Encode ( const char *  data)
static

Transform data into a null terminated base64 string.

Definition at line 107 of file TBase64.cxx.

◆ Encode() [2/2]

TString TBase64::Encode ( const char *  data,
Int_t  len 
)
static

Transform len bytes from data into a null terminated base64 string.

Definition at line 115 of file TBase64.cxx.

◆ IsA()

virtual TClass * TBase64::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 38 of file TBase64.h.

◆ Streamer()

virtual void TBase64::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TBase64::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 38 of file TBase64.h.


The documentation for this class was generated from the following files: