Here you can find the source of readKey(ByteBuffer index, int indexByteOffset, byte[] foundKey)
public static byte[] readKey(ByteBuffer index, int indexByteOffset, byte[] foundKey)
//package com.java2s; //License from project: Apache License import java.nio.ByteBuffer; public class Main { public static byte[] readKey(ByteBuffer index, int indexByteOffset, byte[] foundKey) { index.position(indexByteOffset); index.get(foundKey);//from w w w. j av a2 s . c o m return foundKey; } }