![]() |
aGrUM 3.0.0
a C++ library for (probabilistic) graphical models
|
Shared binary I/O helpers for GUM (jgum/bgum) serialization. More...
#include <cstdint>#include <istream>#include <ostream>#include <stdexcept>#include <vector>#include <agrum/base/io/GumBinaryIO_inl.h>Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
Functions | |
| std::vector< uint8_t > | gum::_readVector_ (std::istream &is) |
| Reads a length-prefixed byte vector from a binary stream (bgum format). | |
| void | gum::_writeVector_ (std::ostream &os, const std::vector< uint8_t > &vec) |
| Writes a length-prefixed byte vector to a binary stream (bgum format). | |
Shared binary I/O helpers for GUM (jgum/bgum) serialization.
Provides inline helpers to read/write a length-prefixed byte vector used by the msgpack binary format (.bgum). Defined here once to avoid duplication across GumBNReader/Writer, GumIDReader/Writer and GumMRFReader/Writer.
Definition in file GumBinaryIO.h.