Skip to content

Range testing #3

@bre7

Description

@bre7

Would you consider adding range testing (with masks) ?

let ip = IPv4Address("171.245.48.40")
ip.includedIn("171.245.48.0/20")

IPv4 is quite simple (to Int, check if it's in range), not sure about IPv6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions