ipv6PrefixFromIpv4Prefix
ipv6PrefixFromIpv4Prefix(
prefix):BitPrefix
Defined in: packages/net-address/src/ipv6/ipv4-mapped.ts:82
Widens an IPv4 prefix to its IPv4-mapped counterpart: 10.0.0.0/8 becomes
::ffff:10.0.0.0/104.
Parameters
Section titled “Parameters”prefix
Section titled “prefix”Returns
Section titled “Returns”Throws
Section titled “Throws”RangeError When the prefix is not over a 32-bit address.