public CidrBlock resize(int newPrefixLength) {
        return new CidrBlock(addressInteger, newPrefixLength, addressLength);
    }
Returns a copy of this resized to the given newPrefixLength
vespajlib/src/main/java/ai/vespa/net/CidrBlock.java