Lasso Soft Inc. > Home

[ bytes->import64bits ]

Method

[bytes->import64Bits] appends the low 64 bits (8 bytes) of an integer onto the end of the byte stream.

  • Syntax
bytes->import64Bits(26097085400)
Examples
  • Beginner

 

This example imports an integer and prnts the result as hexadecimal.

Code

bytes->import64Bits(260970854001178950) & encodeHex

Result

467978E99B279F03
Resources
  • Tips

 

The integer's bytes are imported using the endianess of the host machine. Look at [integer->hostToNet64] and [integer->netToHost64] to perform byte swapping.

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft