MCPcopy Create free account
hub / github.com/F-Stack/f-stack / MEM_writeBE64

Function MEM_writeBE64

freebsd/contrib/zstd/lib/common/mem.h:394–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394MEM_STATIC void MEM_writeBE64(void* memPtr, U64 val64)
395{
396 if (MEM_isLittleEndian())
397 MEM_write64(memPtr, MEM_swap64(val64));
398 else
399 MEM_write64(memPtr, val64);
400}
401
402MEM_STATIC size_t MEM_readBEST(const void* memPtr)
403{

Callers 1

MEM_writeBESTFunction · 0.70

Calls 3

MEM_isLittleEndianFunction · 0.70
MEM_write64Function · 0.70
MEM_swap64Function · 0.70

Tested by

no test coverage detected