| 11 | { |
| 12 | |
| 13 | CustomKeyValue::CustomKeyValue(std::string_view buffer) |
| 14 | { |
| 15 | MemReader reader(buffer.data(), buffer.size()); |
| 16 | ReaderSource src(reader); |
| 17 | |
| 18 | while (src.Size() > 0) |
| 19 | { |
| 20 | uint8_t const type = ReadPrimitiveFromSource<uint8_t>(src); |
| 21 | m_vals.emplace_back(type, ReadVarUint<uint64_t>(src)); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | std::string CustomKeyValue::ToString() const |
| 26 | { |
nothing calls this directly
no test coverage detected