pack_le - chung-leong/qb GitHub Wiki

pack_le - Pack a scalar into binary string in little-endian format

string pack_le(number $num)

pack_be() returns the binary representation in little-endian format of an integer or floating point number. Currently the function only accepts scalars.

Parameters

num - The number to process.

Return Value

A binary string containing num.

Version

1.0 and above.