BinaryToIP
(Function Library)
Description: | Converts an IP address from binary notation to decimal. |
Returns: | Text |
Usage: | Script or steady state. |
Function Groups: | String |
Related to: | BinIP2Text |
Format: | \FunctionLib.BinaryToIP(Value) |
Parameters: |
Value |
An internet protocol (IP) address, written as a four-byte binary buffer. |
Comments: |
This module is a member of the Function Library, and must therefore be prefaced by \FunctionLib as shown in the "Format" section. Note that each group in the IP address output of BinaryToIP is padded with zeroes. |
Example:
\FunctionLib.BinaryToIP(Concat(MakeBuff(1, 204), MakeBuff(1, 132), MakeBuff(1, 40), MakeBuff(1, 155)))
Will return "204.132.040.155"