Preconditions.checkNotNull(buffer, "buffer");
https://github.com/Parquet/parquet-mr/blob/master/parquet-column/src/main/java/parquet/Preconditions.java#L33