Java ByteBuffer Get getRel(ByteBuffer bb, int rel)

Here you can find the source of getRel(ByteBuffer bb, int rel)

Description

get Rel

License

BSD License

Declaration

public static byte getRel(ByteBuffer bb, int rel) 

Method Source Code

//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);
    }
}

Related

  1. getNumeric(java.nio.ByteBuffer buffer, int len)
  2. getObject(ByteBuffer buffer)
  3. getObject(ByteBuffer byteBuffer)
  4. getProfileIdc(ByteBuffer spsBuffer)
  5. getQuickchatParam(ByteBuffer buf, int size)
  6. getRemaining(ByteBuffer[] byteBuffers)
  7. getRemainingArray(ByteBuffer buffer)
  8. getRepeatSequenceCount(ByteBuffer buffer, int limitCount)
  9. getRSString(ByteBuffer buffer)