Function packInto

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

Prototype

void packInto(T, bool IsInt24)(
  T value,
  ubyte[] array
) pure nothrow;

Parameters

IsInt24 = If only the most significant 3 bytes from the value should be used value = The value to add to array array = The array we should add the values for. It has to be large enough, and the values are packed starting index 0

Authors

Copyright

License