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

Method EncodeAndWrite

libs/coding/huffman.hpp:172–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171 template <typename TWriter, typename T>
172 uint32_t EncodeAndWrite(TWriter & writer, T const * begin, T const * end) const
173 {
174 static_assert(std::is_integral<T>::value, "");
175 return EncodeAndWriteImpl(writer, begin, end);
176 }
177
178 template <typename TWriter, typename It>
179 uint32_t EncodeAndWrite(TWriter & writer, It begin, It end) const

Callers

nothing calls this directly

Calls 4

EncodeFunction · 0.70
beginMethod · 0.45
endMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected