![]() |
MFEM v4.7.0
Finite element discretization library
|
Go to the source code of this file.
Namespaces | |
namespace | mfem |
namespace | 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. | |
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. | |
size_t | mfem::bin_io::NumBase64Chars (size_t nbytes) |
Return the number of characters needed to encode nbytes in base-64. | |