Write a 32‐bit integer to a byte buffer in little‐endian order.

Synopsis

Declared in <crypto/common.h>

template<ByteType B>
void
WriteLE32(
    B* ptr,
    uint32_t x);

Parameters

Name

Description

ptr

Pointer to at least 4 writable bytes.

x

The host‐order value to store.

Created with MrDocs