| 51 | } |
| 52 | |
| 53 | uint64_t Ch4Block::Read(std::streambuf& buffer) { // NOLINT |
| 54 | uint64_t bytes = ReadHeader4(buffer); |
| 55 | bytes += ReadNumber(buffer, nof_elements_); |
| 56 | bytes += ReadNumber(buffer, type_); |
| 57 | |
| 58 | std::vector<uint8_t> reserved; |
| 59 | bytes += ReadByte(buffer, reserved, 3); |
| 60 | |
| 61 | name_ = ReadTx4(buffer, kIndexTx); |
| 62 | ReadMdComment(buffer, kIndexMd); |
| 63 | ReadLink4List(buffer, ch_list_, kIndexCh); |
| 64 | return bytes; |
| 65 | } |
| 66 | |
| 67 | uint64_t Ch4Block::Write(std::streambuf& buffer) { // NOLINT |
| 68 | const auto update = FilePosition() > 0; |
nothing calls this directly
no test coverage detected