CompactAddress class

Checks if you are awesome. Spoiler: you are.

Constructors

CompactAddress(InternetAddress address, int port)

Properties

address InternetAddress
final
addressString String
read-only
hashCode int
The hash code for this object.
read-onlyoverride
port int
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

clone() CompactAddress
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toBytes([bool growable = true]) List<int>
Get compact address bytes
toContactEncodingString() String
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic b) bool
The equality operator.
override

Static Methods

multipleAddressBytes(List<CompactAddress> addresses, [bool growable = true]) List<int>
Transform compact address list to bytes
parseIPv4Address(List<int> message, [int offset = 0]) CompactAddress
Parse compact bytes to ipv4 address list
parseIPv4Addresses(List<int> message, [int offset = 0, int end]) List<CompactAddress>
Parse compact bytes to ipv4 address
parseIPv6Address(List<int> message, [int offset = 0]) CompactAddress
Parse compact bytes to ipv6 address
parseIPv6Addresses(List<int> message, [int offset = 0, int end]) List<CompactAddress>
Parse compact bytes to ipv6 address list