| 19 | } |
| 20 | |
| 21 | uint64_t Pr3Block::Write(std::streambuf& buffer) { |
| 22 | block_type_ = "PR"; |
| 23 | block_size_ = static_cast<uint16_t>((2 + 2) + text_.size()); |
| 24 | link_list_.clear(); |
| 25 | |
| 26 | uint64_t bytes = MdfBlock::Write(buffer); |
| 27 | bytes += WriteStr(buffer, text_, text_.size()); |
| 28 | return bytes; |
| 29 | } |
| 30 | |
| 31 | } // namespace mdf::detail |