MCPcopy Create free account
hub / github.com/comaps/comaps / ReverseMap

Function ReverseMap

libs/coding/succinct_mapper.hpp:254–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252
253template <typename T>
254uint64_t ReverseMap(T & value, uint8_t * base, char const * name)
255{
256 ReverseMapVisitor visitor(base);
257 visitor(value, name);
258 return visitor.BytesRead();
259}
260
261template <typename T, typename TWriter>
262uint64_t Freeze(T & val, TWriter & writer, char const * name)

Callers 1

UNIT_TESTFunction · 0.85

Calls 1

BytesReadMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.68