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

Function swap4

Utilities/DICOMParser/DICOMFile.h:182–189  ·  view source on GitHub ↗

Swap the bytes in an array of unsigned longs.

Source from the content-addressed store, hash-verified

180 // Swap the bytes in an array of unsigned longs.
181 //
182 static void swap4(uint* ip, uint* op, int count)
183 {
184 while (count)
185 {
186 *op++ = swap4(*ip++);
187 count--;
188 }
189 }
190
191 //
192 // Swap the bytes in an unsigned short.

Callers 2

ReadQuadByteMethod · 0.85
ReadNextRecordMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected