| 223 | } |
| 224 | |
| 225 | static void serialiseIndex(Stream& stream, const IndexHeader& header, const std::vector<ObjectIndexEntry>& entries) |
| 226 | { |
| 227 | serialiseHeader(stream, header); |
| 228 | stream.writeValue<uint32_t>(static_cast<uint32_t>(entries.size())); |
| 229 | for (auto& entry : entries) |
| 230 | { |
| 231 | serialiseEntry(stream, entry); |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | static std::string deserialiseString(Stream& stream) |
| 236 | { |
no test coverage detected