MMTF-C++
The C++ language MMTF libraries
decoder.hpp File Reference
#include "structure_data.hpp"
#include "errors.hpp"
#include "msgpack_decoder.hpp"
#include <fstream>
#include <sstream>
#include <string>

Go to the source code of this file.

Namespaces

 mmtf
 

Functions

void mmtf::decodeFromBuffer (StructureData &data, const char *buffer, size_t size)
 Decode an MMTF data structure from a byte buffer. More...
 
template<typename Stream >
void mmtf::decodeFromStream (StructureData &data, Stream &stream)
 Decode an MMTF data structure from a stream. More...
 
void mmtf::decodeFromFile (StructureData &data, const std::string &filename)
 Decode an MMTF data structure from an existing file. More...