byte[] src = "HELLO MINA!".getBytes();
ByteBuffer bb = ByteBuffer.wrap(src);
InputStream is = new ByteBufferInputStream(bb);
is.skip(6);
assertEquals(5, is.available());
assertEquals('M', is.read());
assertEquals('I', is.read());
assertEquals('N', is.read());
assertEquals('A', is.read());