[Integer->HostToNet16] swaps the first 16 bits of an integer on a low-endian machine such as (Windows). This is an important operation for many network operations.
This tag does nothing on a big-endian machine (Mac OS X).
[Var: 'myVar' = 0xffffffffffffffffffffffffffffffff]
[$myVar->HostToNet16]
See the Lasso 8 Language Guide for examples of how to use this tag.
Tag Link | [Integer->HostToNet16] | Category | Math |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 8.0 |
Output Type | Bytes | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0 |
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