pkl.experimental.net.net1.0.0
module pkl.experimental.net.net
- Module URI:
- package://pkg.pkl-lang.org/pkl-pantry/pkl.experimental.net@1.0.0#/net.pklcontent_copy
- Pkl version:
- 0.25.0 or higher
- Source code:
- net.pkl
Properties( )
Methods( )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
linkfunction
Canonicalizes IPv6 addresses by expanding each component to be 4 digits (zero-padded) and expanding :: Given input "123:45:6::7890", the output is "0123:0045:0006:0000:0000:0000:0000:7890"
-
linkfunction
Compresses IPv6 addresses by stripping leading zeros from each component and collapsing repeated zero components to :: Given input "0123:0045:0006:0000:0000:0000:0000:7890", the output is "123:45:6::7890" Note that this may not produce optimally compressed addresses if there are multiple spans of repeated zero components
-
-
-
-
We sell IP addresses and IP address accessories This module contains types and functions for handling network (IP and MAC) addresses