MCPcopy Create free account
hub / github.com/LAStools/LAStools / ENDIAN_SWAP_64

Function ENDIAN_SWAP_64

LASzip/src/mydefs.hpp:340–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340inline void ENDIAN_SWAP_64(const U8* from, U8* to) {
341 to[0] = from[7];
342 to[1] = from[6];
343 to[2] = from[5];
344 to[3] = from[4];
345 to[4] = from[3];
346 to[5] = from[2];
347 to[6] = from[1];
348 to[7] = from[0];
349}
350
351inline int swap_endian_int(int input) {
352 int output;

Callers 6

readMethod · 0.85
readMethod · 0.85
readMethod · 0.85
writeMethod · 0.85
writeMethod · 0.85
writeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected