MCPcopy Create free account
hub / github.com/apache/arrow / ByteSwap

Function ByteSwap

cpp/src/arrow/util/endian.h:69–69  ·  view source on GitHub ↗

Swap the byte order (i.e. endianness)

Source from the content-addressed store, hash-verified

67
68// Swap the byte order (i.e. endianness)
69static inline int64_t ByteSwap(int64_t value) { return ARROW_BYTE_SWAP64(value); }
70static inline uint64_t ByteSwap(uint64_t value) {
71 return static_cast<uint64_t>(ARROW_BYTE_SWAP64(value));
72}

Callers 10

ByteSwapBufferMethod · 0.85
ComputeHashMethod · 0.85
ToBigEndianFunction · 0.85
ToLittleEndianFunction · 0.85
FromBigEndianFunction · 0.85
FromLittleEndianFunction · 0.85
crc32Function · 0.85
TESTFunction · 0.85
ReadUInt32Method · 0.85
ReadCoordsMethod · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68