pack_be - chung-leong/qb GitHub Wiki
pack_be - Pack a scalar into binary string in big-endian format
string pack_be(number $num)
pack_be() returns the binary representation in big-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.