Scalar. Converts a binary in network byte order to an integer in host byte order.
fromnetbinary ( binary )
binary | A binary in network byte order. |
Takes a binary in network byte order and converts it to an integer in host byte order. Works for positive and negative values. The function takes a binary value as its argument and the function returns an integer. The function returns an error if the binary value is more than 4 bytes long.
fromnetbinary (FFFFFFF6) returns -10.
fromnetbinary (0012ADE4) returns 1224164.