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;
Binary message.
Definition: file.h:131
Definition: arrayfile.h:16
Encoding encoding() const override
Get the file encoding.
BinaryMessage read() override
Read a message from the file.
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.
Base for dballe::File implementations.
Definition: core/file.h:16