4 #ifndef DUNE_GRID_IO_FILE_VTK_STREAMS_HH 5 #define DUNE_GRID_IO_FILE_VTK_STREAMS_HH 42 char* p =
reinterpret_cast<char*
>(&data);
43 for (
size_t len =
sizeof(X); len > 0; len--,p++)
93 char* p =
reinterpret_cast<char*
>(&data);
102 #endif // DUNE_GRID_IO_FILE_VTK_STREAMS_HH void write(char *t)
Definition: b64enc.hh:60
b64txt txt
Definition: b64enc.hh:73
b64data data
Definition: b64enc.hh:74
class to base64 encode a stream of data
Definition: streams.hh:14
void write(T data)
write data to stream
Definition: streams.hh:91
size_type size
Definition: b64enc.hh:34
~Base64Stream()
destroy the object
Definition: streams.hh:75
void put(const char c)
Definition: b64enc.hh:44
write out data in binary
Definition: streams.hh:81
void flush()
flush the current unwritten data to the stream.
Definition: streams.hh:62
void write(X &data)
encode a data item
Definition: streams.hh:40
union representing the three byte text as well as the four 6 bit chunks
Definition: b64enc.hh:71
Base64Stream(std::ostream &s_)
Construct a Base64Stream.
Definition: streams.hh:25
Include standard header files.
Definition: agrid.hh:58
RawStream(std::ostream &theStream)
make a new stream
Definition: streams.hh:85
int read(const char *t, size_type s)
Definition: b64enc.hh:36