WriteBE32

Write a 32-bit integer to a byte buffer in big-endian order.

Synopsis

Declared in <crypto/common.h>

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

Parameters

NameDescription
ptrPointer to at least 4 writable bytes.
xThe host-order value to store.