Java examples for java.nio:ByteBuffer
ByteBuffer advance Position
//package com.java2s; import java.nio.ByteBuffer; public class Main { public static void advancePosition(ByteBuffer buffer, int count) { buffer.position(buffer.position() + count); }//from w w w . ja va2s .com }