Here you can find the source of readByte(ByteBuffer buf, int i)
public static byte readByte(ByteBuffer buf, int i)
//package com.java2s; /* Partial import of https://github.com/jpountz/lz4-java, Apache 2.0 licensed. */ import java.nio.ByteBuffer; public class Main { public static byte readByte(ByteBuffer buf, int i) { return buf.get(i); }//from ww w .j a v a2 s . com }