public static Address wrap(final Bytes value) {
    checkArgument(
        value.size() == SIZE,
        "An account address must be %s bytes long, got %s",
        SIZE,
        value.size());
    if (value instanceof Address address) {
      return address;
    } else if (value instanceof DelegatingBytes delegatingBytes) {
      return new Address(delegatingBytes.copy());
    } else {
      return new Address(value);
    }
  }
Wrap address.

@param value the value
@return the address
datatypes/src/main/java/org/hyperledger/besu/datatypes/Address.java