ΒΆtemplate <typename value_type,
          llvm::support::endianness endian,
          std::size_t alignment>
inline void writeAtBitAlignment(void* memory,
                                value_type value,
                                uint64_t startBit)

Description

Write a value to memory with a particular endianness, for a location that starts at the given bit offset within the first byte.

Declared at: llvm/include/llvm/Support/Endian.h:151

Templates

value_type
llvm::support::endianness endian
std::size_t alignment

Parameters

void* memory
value_type value
uint64_t startBit