ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
TBase64.h
Go to the documentation of this file.
1
// @(#)root/base:$Id$
2
// Author: Gerardo Ganis + Fons Rademakers 15/5/2009
3
4
/*************************************************************************
5
* Copyright (C) 1995-2009, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TBase64
13
#define ROOT_TBase64
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// TBase64 //
18
// //
19
// This code implements the Base64 encoding and decoding. //
20
// Base64 encoded messages are typically used in authentication //
21
// protocols and to pack binary data in HTTP messages. //
22
// //
23
//////////////////////////////////////////////////////////////////////////
24
25
#include "
Rtypes.h
"
26
#include "
TString.h
"
27
28
29
class
TBase64 {
30
31
public
:
32
virtual
~TBase64() { }
33
34
static
TString Encode(
const
char
*data);
35
static
TString Encode(
const
char
*data, Int_t len);
36
static
TString Decode(
const
char
*data);
37
38
ClassDef(TBase64,0)
// Base64 encoding/decoding
39
};
40
41
#endif
Rtypes.h
TString.h
core
base
inc
TBase64.h
Generated on Tue May 5 2020 14:02:19 for ROOT by
1.8.5