packInto

Converts a value into a sequence of bytes and fills the supplied array.

@safe pure nothrow
void
packInto
(
T
bool IsInt24 = false
)
(,
ubyte[] array
)

Parameters

IsInt24

If only the most significant 3 bytes from the value should be used.

value T

The value to add to array.

array ubyte[]

The array we should add the values for. It has to be large enough, and the values are packed starting index 0.

Meta