MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ store_le_u64()

void MayaFlux::Transitive::Protocol::store_le_u64 ( uint8_t * dst,
uint64_t val )
inlinenoexcept

Store a uint64 as eight little-endian bytes.

Byte shifts give the same layout on any host, so no byte-order branch is needed.

Parameters
dstDestination, at least 8 bytes.
valValue to store.

Definition at line 194 of file BinaryBuffer.hpp.

195{
196 for (size_t k = 0; k < 8; ++k) {
197 dst[k] = static_cast<uint8_t>((val >> (8 * k)) & 0xFFU);
198 }
199}

Referenced by MayaFlux::Yantra::OperationHelper::encode_word_pairs(), and store_le_double().

Here is the caller graph for this function: