[bytes->import8Bits] appends 1 byte of an integer onto the end of the byte stream. The integer parameter is converted into an unsigned char and then imported. Therefore, the only possible range for that import is 0-255.
bytes->import8Bits(3)
This example imports 1 byte into a bytes object and prints the value in hexadecimal.
Code
bytes->import8Bits(-230) & encodeHex
Result
1A
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