public int getSize() {
    return getEncodedData().length;
  }
Find the size of minimal buffer that could store compressed data.
@return Size in bytes of compressed data.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/EncodedDataBlock.java