Non-throwing version of fromBinary(). On failure returns IPAddressFormatError.
Declared in <folly/IPAddress.h>
static
Expected<IPAddress, IPAddressFormatError>
tryFromBinary(ByteRange bytes) noexcept;
The parsed IPAddress, or an IPAddressFormatError on failure.
| Name | Description |
|---|---|
| bytes | The binary address data in network byte order. |