ais.mark(1000);
assertEquals(8, ais.read(new byte[10]));
assertEquals(985, ais.available());
assertEquals(0, ais.skip(2));
assertEquals(8, ais.skip(10));
ais.reset();
assertEquals(993, ais.available());
assertEquals(0, ais.read(new byte[10], -1, 2));
assertEquals(8, ais.read(new byte[10], 0, 11));
try {
ais.read();