@Override /** * <p>Skips n bytes of input from the bytes that can be read from this input stream * without blocking.</p> * * <p>Fewer bytes than requested might be skipped. The actual number of bytes skipped is * equal to n or the result of a call to available, whichever is smaller. If n is less * than zero, no bytes are skipped.</p> * * <p>The actual number of bytes skipped is returned.</p> * * @param n the number of bytes to be skipped. * @return the actual number of bytes skipped. * @throws IOException */ public long skip(long n) throws IOException { return cipherInputStream.skip(n); }
@Override public long skip(long l) throws IOException { if (firstRead) { initCipher(); firstRead = false; } return super.skip(l); }
cis.skip(sync_bytes);