$system.ntohi
Convert an integer from network to host byte order.
Usage
<integer> $system.ntohi(<value:integer>)
<integer> $system.ntohi(<value:integer>,<bytecount:integer>)
Description
Converts the integer value in network byte order to it's host byte order counterpart. Since the conversion is carried at binary representation level you must specify the number of bytes you want the binary representation to have. Valid values are 1 (no conversion), 2 (short), 4 (32 bit int) and 8 (64 bit int). If omitted, bytecount is assumed to be 4.

Index, Functions