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 ()
 

Static Public Member Functions

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

◆ 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.


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