mysql-native v3.0.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


Function packInto

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

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

Parameters

NameDescription
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.