MFEM
v4.2.0
Finite element discretization library
|
Functions | |
void | WriteBase64 (std::ostream &out, const void *bytes, size_t nbytes) |
template<typename T > | |
void | write (std::ostream &os, T value) |
Write 'value' to stream. More... | |
template<typename T > | |
T | read (std::istream &is) |
Read a value from the stream and return it. More... | |
template<typename T > | |
void | AppendBytes (std::vector< char > &vec, const T &val) |
void mfem::bin_io::AppendBytes | ( | std::vector< char > & | vec, |
const T & | val | ||
) |
Definition at line 45 of file binaryio.hpp.
|
inline |
Read a value from the stream and return it.
Definition at line 37 of file binaryio.hpp.
|
inline |
Write 'value' to stream.
Definition at line 30 of file binaryio.hpp.
void mfem::bin_io::WriteBase64 | ( | std::ostream & | out, |
const void * | bytes, | ||
size_t | nbytes | ||
) |
Definition at line 25 of file binaryio.cpp.