Module cloudi_ip_address

CloudI IP Address Parsing

Use a fixed width format for simpler parsing, testing, and to allow better pattern matching within service names.

Copyright © 2013-2017 Michael Truog

Version: 1.7.1 Jun 3 2020 18:48:06 ------------------------------------------------------------------------

Authors: Michael Truog (mjtruog at protonmail dot com).

Description

CloudI IP Address Parsing

Use a fixed width format for simpler parsing, testing, and to allow better pattern matching within service names.

Data Types

format_binary()

format_binary() = <<_:120>> | <<_:312>>

format_string()

format_string() = string()

Function Index

from_binary/1

Parse a binary string representation.

.
from_string/1

Parse a binary string representation.

.
to_binary/1

Create a binary string representation.

.
to_string/1

Create a list string representation.

.

Function Details

from_binary/1

from_binary(X1::format_binary()) -> inet:ip_address()

Parse a binary string representation.

from_string/1

from_string(X1::format_string()) -> inet:ip_address()

Parse a binary string representation.

to_binary/1

to_binary(X1::inet:ip_address()) -> format_binary()

Create a binary string representation.

to_string/1

to_string(X1::inet:ip_address()) -> format_string()

Create a list string representation.


Generated by EDoc