Here you can find the source of getRel(ByteBuffer bb, int rel)
public static byte getRel(ByteBuffer bb, int rel)
//package com.java2s; /**//from w w w . j av a 2 s . c om * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD License * * @author The JCodec project * */ import java.nio.ByteBuffer; public class Main { public static byte getRel(ByteBuffer bb, int rel) { return bb.get(bb.position() + rel); } }