| 61 | } |
| 62 | |
| 63 | uint64_t DataBlock::ReadData(std::streambuf& buffer) { |
| 64 | if (data_position_ <= 0) { |
| 65 | return 0; |
| 66 | } |
| 67 | SetFilePosition(buffer,data_position_); |
| 68 | return ReadByte(buffer, data_,DataSize()); |
| 69 | } |
| 70 | |
| 71 | } // namespace mdf::detail |
nothing calls this directly
no test coverage detected