Here you can find the source of skip(ByteBuffer dest, int length)
public static void skip(ByteBuffer dest, int length)
//package com.java2s; //License from project: Open Source License import java.nio.ByteBuffer; public class Main { public static void skip(ByteBuffer dest, int length) { dest.position(dest.position() + length); }/* w ww. j av a 2 s . c om*/ }