bits method

String bits()

Transforms the prefix into a string of bits representing the netmask

prefix = IPAddress::Prefix128.64

prefix.bits /// "1111111111111111111111111111111111111111111111111111111111111111" "0000000000000000000000000000000000000000000000000000000000000000"

Implementation

String bits() {
  return this.netmask().toRadixString(2);
}