LittleEndian.from

Converts the supplied integral to an array of unsigned bytes.

struct LittleEndian
static
ubyte[]
from
(
T
)
(
const(T) input
)

Parameters

input const(T)

Integral to convert to bytes

Return Value

Type: ubyte[]

Integral input of type T split into its respective bytes with the bytes placed in the specified byte order.

Meta