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

Function ReadPOD

libs/coding/read_write_utils.hpp:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108template <class Sink, class T>
109void ReadPOD(Sink & src, T & value)
110{
111 static_assert(std::is_trivially_copyable<T>::value, "");
112 src.Read(&value, sizeof(T));
113}
114
115template <class TSource, class TCont>
116void ReadVectorOfPOD(TSource & src, TCont & v)

Callers 2

DeserializeMethod · 0.85

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected