ip-num
    Preparing search index...

    Function cidrPrefixToMaskBinaryString

    • Given the prefix portion of a cidr notation and the type of IP number, returns the mask in binary string

      Parameters

      • cidrPrefix: number

        the prefix part of a cidr notation

      • ipType: IPv4 | IPv6

        the type of the ip number in the range the cidr represents

      Returns string