public static long getStorefileFieldSize(HStoreFile file, ToLongFunction<StoreFileReader> f) {
    if (file == null) {
      return 0L;
    }
    StoreFileReader reader = file.getReader();
    if (reader == null) {
      return 0L;
    }
    return f.applyAsLong(reader);
  }
Returns the configured bytesPerChecksum value.
@param conf The configuration
@return The bytesPerChecksum that is set in the configuration
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreUtils.java