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

Go to the source code of this file.

Namespaces

 mfem
 
 mfem::bin_io
 

Functions

void mfem::bin_io::WriteBase64 (std::ostream &out, const void *bytes, size_t nbytes)
 Given a buffer bytes of length nbytes, encode the data in base-64 format, and write the encoded data to the output stream out. More...
 
void mfem::bin_io::DecodeBase64 (const char *src, size_t len, std::vector< char > &buf)
 Decode len base-64 encoded characters in the buffer src, and store the resulting decoded data in buf. buf will be resized as needed. More...
 
size_t mfem::bin_io::NumBase64Chars (size_t nbytes)
 Return the number of characters needed to encode nbytes in base-64. More...