MCPcopy Create free account
hub / github.com/Kitware/VTK / SwapByteOrder8

Function SwapByteOrder8

IO/Image/vtkSEPReader.cxx:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 std::swap(data[1], data[2]);
39}
40inline void SwapByteOrder8(char* data)
41{
42 std::swap(data[0], data[7]);
43 std::swap(data[1], data[6]);
44 std::swap(data[2], data[5]);
45 std::swap(data[3], data[4]);
46}
47
48void TrimString(std::string& s)
49{

Callers 1

ReadDataMethod · 0.85

Calls 1

swapFunction · 0.50

Tested by

no test coverage detected