[bytes->import64Bits] appends the low 64 bits (8 bytes) of an integer onto the end of the byte stream.
bytes->import64Bits(26097085400)
This example imports an integer and prnts the result as hexadecimal.
Code
bytes->import64Bits(260970854001178950) & encodeHex
Result
467978E99B279F03
The integer's bytes are imported using the endianess of the host machine. Look at [integer->hostToNet64] and [integer->netToHost64] to perform byte swapping.
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments