ROOT logo
ROOT » CORE » BASE » TBase64

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


Function Members (Methods)

public:
TBase64()
TBase64(const TBase64&)
virtual~TBase64()
static TClass*Class()
static TStringDecode(const char* data)
static TStringEncode(const char* data)
static TStringEncode(const char* data, Int_t len)
virtual TClass*IsA() const
TBase64&operator=(const TBase64&)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TString Encode(const char* data)
 Transform data into a null terminated base64 string.
TString Encode(const char* data, Int_t len)
 Transform len bytes from data into a null terminated base64 string.
TString Decode(const char* data)
 Decode a base64 string date into a generic TString.
 No check for base64-ness of input characters.
virtual ~TBase64()
{ }