Scalar. Converts an integer in host byte order to a 4 byte binary in network byte order.
tonetbinary ( integer )
integer | An integer in host byte order. |
Takes an integer in host byte order and converts it to a 4 byte binary in network byte order. Works for positive and negative values.
tonetbinary (1224164) returns 0012ADE4.
tonetbinary (-1224164) returns FFED521C.