class RLP {

  public static int calculateSize(final Bytes value) {
    return RLPDecodingHelpers.rlpElementMetadata((index) -> value.get((int) index), value.size(), 0)
        .getEncodedSize();
  }

  private  RLP();

}