MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Namespaces | Functions
binaryio.hpp File Reference

Go to the source code of this file.




template<typename T >
void mfem::bin_io::write (std::ostream &os, T value)
 Write 'value' to stream. More...
template<typename T >
mfem::bin_io::read (std::istream &is)
 Read a value from the stream and return it. More...
template<typename T >
mfem::bin_io::read (const char *buf)
 Read a value of type T from a binary buffer and return it. More...
template<typename T >
void mfem::bin_io::AppendBytes (std::vector< char > &vec, const T &val)
 Append the binary representation of val to the byte buffer vec. More...
void mfem::bin_io::WriteBase64 (std::ostream &out, const void *bytes, size_t nbytes)
void mfem::bin_io::DecodeBase64 (const char *src, size_t len, std::vector< char > &buf)
size_t mfem::bin_io::NumBase64Chars (size_t nbytes)