Logo ROOT  
Reference Guide
TBase64.cxx File Reference
#include "TBase64.h"
Include dependency graph for TBase64.cxx:

Functions

static int FromB64low (const char *in, TString &out)
 Base64 decoding of 4 bytes from in. More...
 
static int ToB64low (const char *in, char *out, int mod)
 Base64 encoding of 3 bytes from in. More...
 

Function Documentation

◆ FromB64low()

static int FromB64low ( const char *  in,
TString out 
)
static

Base64 decoding of 4 bytes from in.

Output (3 bytes) returned in out. No check for base64-ness of input characters.

Definition at line 72 of file TBase64.cxx.

◆ ToB64low()

static int ToB64low ( const char *  in,
char *  out,
int  mod 
)
static

Base64 encoding of 3 bytes from in.

Output (4 bytes) saved in out (not null terminated). Returns 0 on success, -1 if input or output arrays are not defined.

Definition at line 31 of file TBase64.cxx.