Skip to content

read_header

Alexandre Marcireau edited this page May 30, 2018 · 7 revisions

In header "../third_party/sepia/source/sepia.hpp"

sepia::read_header checks the header and retrieves meta-information from the given stream.

namespace sepia {
    header read_header(std::istream& event_stream);
    header read_header(std::unique_ptr<std::istream> event_stream);
}
  • event_stream is the Event Stream to be validated. The stream's header bytes are consumed: the stream must be reset to be used again, as an example with the sepia::observable function.
Clone this wiki locally