Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmx::anonymous_namespace{mrcdensitymap.cpp} Namespace Reference

Functions

std::vector< char > readCharBufferFromFile (const std::string &filename)
 Read file into memory as vector of chars. More...
 

Function Documentation

std::vector<char> gmx::anonymous_namespace{mrcdensitymap.cpp}::readCharBufferFromFile ( const std::string &  filename)

Read file into memory as vector of chars.

Parameters
[in]filenameof the file to be read
Returns
the file contents as a vector
Exceptions
FileIOErrorif file not found
FileIOErrorif reading was not successful