folly::storeUnaligned

Write an unaligned value of type T.

Synopsis

Declared in <folly/lang/Bits.h>

template<
    class T,
    class...,
    class V>
void
storeUnaligned(
    void* p,
    V value);

Parameters

NameDescription
pPointer to the destination bytes.
valueThe value to write; its type must match the type parameter T.