core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/base/ODurablePage.java
@SuppressWarnings("unused")
  public static void getPageData(final ByteBuffer buffer, final byte[] data, final int offset, final int length) {
    buffer.position(0);
    buffer.get(data, offset, length);
  }
@SuppressWarnings("unused")
  public static void getPageData(final ByteBuffer buffer, final byte[] data, final int offset, final int length) {
    buffer.position(0);
    buffer.get(data, offset, length);
  }
@ SuppressWarnings ( "unused" ) public static void getPageData ( final ByteBuffer buffer , final byte [ ] data , final int offset , final int length ) { buffer . position ( 0 ) ; buffer . get ( data , offset , length ) ; }
DO NOT DELETE THIS METHOD IT IS USED IN ENTERPRISE STORAGE
<p>
Copies content of page into passed in byte array.

@param buffer Buffer from which data will be copied
@param data   Byte array to which data will be copied
@param offset Offset of data inside page
@param length Length of data to be copied
DO NOT DELETE THIS METHOD IT IS USED IN ENTERPRISE STORAGE <p > Copies content of page into passed in byte array .