Go to the documentation of this file.
4#ifndef DUNE_GRID_IO_FILE_VTK_B64ENC_HH
5#define DUNE_GRID_IO_FILE_VTK_B64ENC_HH
21 'A',
'B',
'C',
'D',
'E',
'F',
'G',
'H',
'I',
'J',
'K',
'L',
'M',
22 'N',
'O',
'P',
'Q',
'R',
'S',
'T',
'U',
'V',
'W',
'X',
'Y',
'Z',
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 '0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'+',
'/'
31 typedef unsigned char size_type;
34 int read(
const char* t, size_type s)
37 txt[2] = s>0 ? t[0] : 0;
38 txt[1] = s>1 ? t[1] : 0;
39 txt[0] = s>2 ? t[2] : 0;
42 void put(
const char c)
52 typedef unsigned char size_type;
Dune namespace.
Definition: alignment.hh:14
const char base64table[]
endoing table
Definition: b64enc.hh:19
struct with three bytes of text
Definition: b64enc.hh:30
union representing the three byte text aswell as the four 6 bit chunks
Definition: b64enc.hh:70