static String buildMessageDetails(Algorithm compression, DataBlockEncoding encoding,
    boolean pread) {
    return String.format("compression %s, encoding %s, pread %s", compression, encoding, pread);
  }
Test encoding/decoding data blocks.
@throws IOException a bug or a problem with temporary files.
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java