17 const std::string& name=
"mmJSON");
26 std::string name =
input.is_stdin() ?
"stdin" :
input.path();
struct Document that represents the CIF file (but can also be read from a different representation,...
Document read_mmjson(T &&input)
Document read_mmjson_file(const std::string &path)
GEMMI_DLL Document read_mmjson_insitu(char *buffer, std::size_t size, const std::string &name="mmJSON")
CharArray read_into_buffer(T &&input)
CharArray read_file_into_buffer(const std::string &path)
reading file into a memory buffer (optimized: uses fseek to determine file size)