12#ifndef O2_MCH_DEVIO_DIGITS_DIGIT_IO_H
13#define O2_MCH_DEVIO_DIGITS_DIGIT_IO_H
33 void count(std::istream& in,
size_t& ntfs,
size_t& nrofs,
size_t& ndigits)
override;
34 bool read(std::istream& in,
35 std::vector<Digit>&
digits,
36 std::vector<ROFRecord>& rofs)
override;
37 void rewind(std::istream& in);
53 bool write(std::ostream& out,
54 gsl::span<const Digit>
digits,
55 gsl::span<const ROFRecord> rofs)
override;
void rewind(std::istream &in)
bool read(std::istream &in, std::vector< Digit > &digits, std::vector< ROFRecord > &rofs) override
bool write(std::ostream &out, gsl::span< const Digit > digits, gsl::span< const ROFRecord > rofs) override
std::vector< Digit > digits