12#ifndef O2_MCH_DEVIO_DIGITS_DIGIT_IO_V1_H
13#define O2_MCH_DEVIO_DIGITS_DIGIT_IO_V1_H
26 void count(std::istream& in,
size_t& ntfs,
size_t& nrofs,
size_t& ndigits)
override;
27 bool read(std::istream& in,
28 std::vector<Digit>&
digits,
29 std::vector<ROFRecord>& rofs)
override;
30 void rewind(std::istream& in);
39 bool write(std::ostream& out,
40 gsl::span<const Digit>
digits,
41 gsl::span<const ROFRecord> rofs)
override;
bool read(std::istream &in, std::vector< Digit > &digits, std::vector< ROFRecord > &rofs) override
void rewind(std::istream &in)
bool write(std::ostream &out, gsl::span< const Digit > digits, gsl::span< const ROFRecord > rofs) override
std::vector< Digit > digits