IP4Address

public struct IP4Address : Hashable
extension IP4Address: CustomStringConvertible

Undocumented

  • Undocumented

    Declaration

    Swift

    public static func & (lhs: IP4Address, rhs: IP4Address) -> IP4Address
  • Declaration

    Swift

    public static func == (lhs: IP4Address, rhs: IP4Address) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)
  • Undocumented

    Declaration

    Swift

    public var string: String { get }
  • Create an IP Address from a string. 192.168.0.1 can be represented by IP4Address("192.168.0.1")

    Declaration

    Swift

    public init?(_ string: String)
  • Create an IP Address by components. 192.168.0.1 can be represented by IP4Address(192,168,0,1)

    Declaration

    Swift

    public init(_ a: UInt8, _ b: UInt8, _ c: UInt8, _ d: UInt8)
  • Undocumented

    Declaration

    Swift

    public func next(in network: IP4Network) -> IP4Address?
  • Declaration

    Swift

    public var description: String { get }