MCPcopy Create free account
hub / github.com/davisking/dlib / to_little

Function to_little

dlib/test/hash.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24 template <typename T>
25 void to_little (
26 std::vector<T>& item
27 )
28 {
29 byte_orderer bo;
30 for (unsigned long i = 0; i < item.size(); ++i)
31 bo.host_to_little(item[i]);
32 }
33
34
35 template <typename T>

Callers 1

perform_testMethod · 0.85

Calls 4

host_to_littleMethod · 0.80
sizeMethod · 0.45
nrMethod · 0.45
ncMethod · 0.45

Tested by

no test coverage detected