byteswap

Swaps all bytes at src from 0..len.

@nogc pure static pragma(inline)
void
byteswap
(
const scope void* src
,
size_t len
)

Parameters

src void*

Data source pointer.

len size_t

Length of data to be byte-swapped.

Meta