Packs two small numbers into an Int
.
Packs two small numbers into an Int
. The two given numbers must be in the
range of an unsigned short (0 to 65535) in an Int
. If they are not, the
behavior is undefined.
the first number to be packed
the second number to be packed
an integer into which the two numbers are packed.
Unpacks two small numbers previously packed into an Int
.
Unpacks two small numbers previously packed into an Int
.
the integer from which the two numbers are to be unpacked
the pair of packed numbers wrapped into a Some
.
Factory and extractor for packing two numbers in the range of an unsigned short (0 to 65535) in an
Int
.(Since version 2017/07/13) This will be removed in a future version