TrueZipReader extends AbstractReadOnlyFile { @Override public long length() throws IOException { return reader.length(); } TrueZipReader(final WindowReader reader);  TrueZipReader(final WindowReader reader, final boolean closeReaderIfClosed); @Override long length(); @Override long getFilePointer(); @Override int read(); @Override void seek(long position); @Override int read(byte[] bytes, int offset, int length); @Override void close();  }
@Test public void testLength() throws Exception { assertEquals(reader.length(), zip.length()); }