// then skip all of it
assertEquals(5, buffer.skipNextEntry());
byte[] b = buffer.getNextEntry(10L);
assertEquals(4, b.length);
assertEquals(3, buffer.skipNextEntry());
b = buffer.getNextEntry(10L);
assertEquals(2, b.length);
assertEquals(1, buffer.skipNextEntry());
// and when empty, nothing more:
assertEquals(-1, buffer.skipNextEntry());