The following was missing from the 5.6 manual, though it is in the help file. (The manual is being updated.)
----------------------------
Binary conversion functions:
----------------------------
value = GET16( buffer [ ,offset [ ,byteorder ]] )
value = GET32( buffer [ ,offset [ ,byteorder ]] )
The GETnn() functions pull a 16- and 32-bit binary value from a buffer and return the decimal equivalent. The "offset" parameter is the zero-relative offset within the buffer, and defaults to zero (the start of the buffer). The "byteorder" parameter is the byte order of the binary value, and can be "L" for little-endian order, "B" for big-endian, and null for the native byte order of the current CPU, and defaults to the native byte order.
binval = PUT16( value [ ,byteorder ] )
binval = PUT32( value [ ,byteorder ] )
The PUTnn() functions convert a decimal number into a binary value. The "byteorder" parameter is the same as the GETnn() functions.
Note that 8-bit values can use the existing ASC() and CHR() functions.