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;
Encoding
Supported encodings.
Definition: file.h:21
Definition: arrayfile.h:15
BinaryMessage read() override
Read a message from the file.
void write(const std::string &msg) override
Append the binary message to the file.
unsigned current
Current reading offset in msgs.
Definition: arrayfile.h:23
Binary message.
Definition: file.h:132
Encoding encoding() const override
Get the file encoding.
Base for dballe::File implementations.
Definition: core/file.h:15