buf_bswap32() function
Byte-swap buffer 32-bit. Len must be divisible by four, dst and src must be either the same or non-overlapping.
Syntax
static inline void buf_bswap32(uint8_t *dst,
const uint8_t *src,
size_t len);
Arguments
len
Length of source (and destination) buffer, in bytes.