Go to the documentation of this file. 1 #ifndef DBALLE_CORE_ARRAYFILE_H
2 #define DBALLE_CORE_ARRAYFILE_H
9 #include <dballe/core/file.h>
21 std::vector<BinaryMessage> msgs;
30 void write(
const std::string& msg)
override;
BinaryMessage read() override
Read a message from the file.
Base for dballe::File implementations.
Definition: core/file.h:15
Definition: arrayfile.h:15
Encoding encoding() const override
Get the file encoding.
Binary message.
Definition: file.h:130
unsigned current
Current reading offset in msgs.
Definition: arrayfile.h:23
void write(const std::string &msg) override
Append the binary message to the file.