Java examples for java.nio:ByteBuffer
skip ByteBuffer by offset
//package com.java2s; import java.nio.ByteBuffer; public class Main { public static void skip(ByteBuffer b, int bytes) { b.position(b.position() + bytes); }//from w ww. j a va 2s . c o m }