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

Function WriteVarUintArray

libs/coding/varint.hpp:294–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292
293template <class Cont, class Sink>
294void WriteVarUintArray(Cont const & v, Sink & sink)
295{
296 for (auto e : v)
297 WriteVarUint(sink, e);
298}
299
300/// @name Special functions to read/write varint array when each value stores a control bit "has next".
301/// Useful for short (>90% have 1 value) arrays.

Callers 3

SerializeForMwmMethod · 0.85
SaveInnerFunction · 0.85
SaveOuterFunction · 0.85

Calls 1

WriteVarUintFunction · 0.85

Tested by

no test coverage detected