public static int estimatedSerializedSizeOf(final Cell cell) {
    return cell.getSerializedSize() + Bytes.SIZEOF_INT;
  }
Estimate based on keyvalue's serialization format in the RPC layer. Note that there is an extra
SIZEOF_INT added to the size here that indicates the actual length of the cell for cases where
cell's are serialized in a contiguous format (For eg in RPCs).
@return Estimate of the <code>cell</code> size in bytes plus an extra SIZEOF_INT indicating the
        actual cell length.
hbase-common/src/main/java/org/apache/hadoop/hbase/PrivateCellUtil.java