4#ifndef DUNE_GRID_IO_FILE_VTK_B64ENC_HH
5#define DUNE_GRID_IO_FILE_VTK_B64ENC_HH
23 'A',
'B',
'C',
'D',
'E',
'F',
'G',
'H',
'I',
'J',
'K',
'L',
'M',
24 'N',
'O',
'P',
'Q',
'R',
'S',
'T',
'U',
'V',
'W',
'X',
'Y',
'Z',
25 'a',
'b',
'c',
'd',
'e',
'f',
'g',
'h',
'i',
'j',
'k',
'l',
'm',
26 'n',
'o',
'p',
'q',
'r',
's',
't',
'u',
'v',
'w',
'x',
'y',
'z',
27 '0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'+',
'/'
39 txt[2] = s>0 ? t[0] : 0;
40 txt[1] = s>1 ? t[1] : 0;
41 txt[0] = s>2 ? t[2] : 0;
44 void put(
const char c)
Include standard header files.
Definition agrid.hh:60
const char base64table[]
endoing table
Definition b64enc.hh:21
struct with three bytes of text
Definition b64enc.hh:32
void put(const char c)
Definition b64enc.hh:44
unsigned char size_type
Definition b64enc.hh:33
char txt[3]
Definition b64enc.hh:35
size_type size
Definition b64enc.hh:34
int read(const char *t, size_type s)
Definition b64enc.hh:36
unsigned A
Definition b64enc.hh:56
unsigned char size_type
Definition b64enc.hh:54
void write(char *t)
Definition b64enc.hh:60
unsigned C
Definition b64enc.hh:58
unsigned D
Definition b64enc.hh:59
size_type size
Definition b64enc.hh:55
unsigned B
Definition b64enc.hh:57
union representing the three byte text as well as the four 6 bit chunks
Definition b64enc.hh:72
b64txt txt
Definition b64enc.hh:73
b64data data
Definition b64enc.hh:74