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

Function Read

libs/coding/read_write_utils.hpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20template <class T, class TSource>
21std::enable_if_t<std::is_integral_v<T> && std::is_unsigned_v<T>, void> Read(TSource & src, T & i)
22{
23 i = ReadVarUint<T>(src);
24}
25
26template <class T, class TSink>
27std::enable_if_t<std::is_integral_v<T> && std::is_signed_v<T>, void> Write(TSink & sink, T i)

Callers 1

ReadContFunction · 0.70

Calls 3

ReadContFunction · 0.85
resizeMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected