docs: public static Integer sizeOfInnerBatchStatementInBytes(
        BatchableStatement statement, ProtocolVersion protocolVersion, CodecRegistry codecRegistry) {
      int size = 0;
  
      size +=
          PrimitiveSizes
              .BYTE; // for each inner statement, there is one byte for the "kind": prepared or string
  
      if (statement instanceof SimpleStatement) {
        size += PrimitiveSizes.sizeOfLongString(((SimpleStatement) statement).getQuery());
        size +=
            sizeOfSimpleStatementValues(
                ((SimpleStatement) statement), protocolVersion, codecRegistry);
      } else if (statement instanceof BoundStatement) {
        size +=
            PrimitiveSizes.sizeOfShortBytes(
                ((BoundStatement) statement).getPreparedStatement().getId().array());
        size += sizeOfBoundStatementValues(((BoundStatement) statement));
      }
      return size;
    }