Skip to content

Version 4.1.0

Choose a tag to compare

@seancfoley seancfoley released this 12 Jan 21:30
· 411 commits to master since this release
  • added sign extension for byte arrays used to construct sections and addresses, compatible with both two's complement and BigInteger byte arrays.
  • support for specifying indices into byte arrays used to construct sections and addresses
  • new methods toMaxHost and toZeroHost to get those specific single hosts from a subnet (network and broadcast address for IPv4), added new methods includesZero and includes Max. Complements existing method toPrefixBlock() which goes from address to subnet
  • changed the default toString() strings to use compression for IPv6
  • added additional validation for prefix lengths throughout the API