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

Function WriteBufferToSink

libs/coding/geometry_coding.hpp:210–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208
209template <class TSink>
210void WriteBufferToSink(std::vector<char> const & buffer, TSink & sink)
211{
212 uint32_t const count = static_cast<uint32_t>(buffer.size());
213 WriteVarUint(sink, count);
214 sink.Write(&buffer[0], count);
215}
216
217template <class TSink>
218void SaveOuter(EncodeFunT fn, std::vector<m2::PointD> const & points, GeometryCodingParams const & params, TSink & sink)

Callers 1

SaveOuterFunction · 0.85

Calls 3

WriteVarUintFunction · 0.85
sizeMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected