Converts a value into a sequence of bytes and fills the supplied array.
If only the most significant 3 bytes from the value should be used.
The value to add to array.
The array we should add the values for. It has to be large enough, and the values are packed starting index 0.
See Implementation
Converts a value into a sequence of bytes and fills the supplied array.