parquet-column/src/main/java/org/apache/parquet/column/values/ValuesReader.java
@Deprecated
  public void initFromPage(int valueCount, byte[] page, int offset) throws IOException {
    this.initFromPage(valueCount, ByteBuffer.wrap(page), offset);
  }
@Deprecated
  public void initFromPage(int valueCount, byte[] page, int offset) throws IOException {
    this.initFromPage(valueCount, ByteBuffer.wrap(page), offset);
  }
@ Deprecated public void initFromPage ( int valueCount , byte [ ] page , int offset ) throws IOException { this . initFromPage ( valueCount , ByteBuffer . wrap ( page ) , offset ) ; }
Same functionality as method of the same name that takes a ByteBuffer instead of a byte[].

This method is only provided for backward compatibility and will be removed in a future release.
Please update any code using it as soon as possible.
@see #initFromPage(int, ByteBuffer, int)
Same functionality as method of the same name that takes a ByteBuffer instead of a byte [] .