maat::serial::Deserializer::Stream class

Stream to read serialized data from.

❱   Constructors, destructors, conversion operators

Stream(std::istream& in)
Constructore. Input stream MUST be opened in binary mode (ios_base::binary) and seekable.

❱   Public functions

template<typename T>
auto operator>>(Bits<T&> b) -> Stream&
Load contents of a primitive type.

template<typename T>
auto operator>>(Buffer<T> b) -> Stream&
Load contents of a buffer.

auto current_pos() const -> int
Return current position in stream.

void set_pos(int pos)
Set position in stream.