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);
class to base64 encode a stream of data
Definition: streams.hh:14
void write(X &data)
encode a data item
Definition: streams.hh:40
void flush()
flush the current unwritten data to the stream.
Definition: streams.hh:62
Base64Stream(std::ostream &s_)
Construct a Base64Stream.
Definition: streams.hh:25
~Base64Stream()
destroy the object
Definition: streams.hh:75
write out data in binary
Definition: streams.hh:82
void write(T data)
write data to stream
Definition: streams.hh:91
RawStream(std::ostream &theStream)
make a new stream
Definition: streams.hh:85
Dune namespace.
Definition: alignedallocator.hh:14
struct representing the three byte text as well as the four 6 bit chunks
Definition: b64enc.hh:32