Skip to content

printIpv4Prefix

printIpv4Prefix(prefix): string

Defined in: packages/net-address/src/ipv4/print-ipv4.ts:28

Prints CIDR notation, keeping any host bits the prefix carries.

BitPrefix

string

RangeError When the prefix is not over a 32-bit address.