IPv4
public struct IPv4 : IP
extension IPv4: Equatable, Hashable
extension IPv4: ExpressibleByIntegerLiteral
Undocumented
-
IPv4 address in network-byte-order
Declaration
Swift
public let address: in_addr
-
Undocumented
Declaration
Swift
public init(address: in_addr)
-
Undocumented
Declaration
Swift
public init?(_ presentation: String)
-
network order
Declaration
Swift
public init?(networkBytes bytes: Data)
-
host order
Declaration
Swift
public init(_ address: UInt32)
-
Format this IPv4 address using common
a.b.c.d
notation.Declaration
Swift
public var presentationString: String? { get }
-
Undocumented
Declaration
Swift
public var presentation: String { get }
-
Declaration
Swift
public var bytes: Data { get }
-
Declaration
Swift
public static func == (lhs: IPv4, rhs: IPv4) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Declaration
Swift
public init(integerLiteral value: UInt32)