/** * @since 1.17 */ @Override public long getCompressedCount() { return countingStream.getBytesRead() - unreadBytes; }
/** * @since 1.17 */ @Override public long getCompressedCount() { return in.getBytesRead(); }
/** * @since 1.17 */ @Override public long getCompressedCount() { return in.getBytesRead(); }
/** * @since 1.17 */ @Override public long getCompressedCount() { return countingStream.getBytesRead(); }
/** * @since 1.17 */ @Override public long getCompressedCount() { return countingStream.getBytesRead(); } }
/** * @since 1.17 */ @Override public long getCompressedCount() { return countingStream.getBytesRead(); } }
/** * @since 1.17 */ @Override public long getCompressedCount() { return countingStream.getBytesRead(); } }
/** * @since 1.17 */ @Override public long getCompressedCount() { return countingStream.getBytesRead(); } }
/** * @since 1.17 */ @Override public long getCompressedCount() { return countingStream.getBytesRead(); }
/** * Returns the number of bytes read from the underlying stream. * * <p>This includes the bytes read to fill the current cache and * not read as bits so far.</p> * @return the number of bytes read from the underlying stream * @since 1.17 */ public long getBytesRead() { return in.getBytesRead(); }
@Override public long getCompressedCount() { return super.getBytesRead(); }
/** * Reads the encoded binary trees and prepares the bit stream. * * @throws IOException */ private void init() throws IOException { if (bits == null) { try (CountingInputStream i = new CountingInputStream(in) { @Override public void close() { // we do not want to close in } }) { if (numberOfTrees == 3) { literalTree = BinaryTree.decode(i, 256); } lengthTree = BinaryTree.decode(i, 64); distanceTree = BinaryTree.decode(i, 64); treeSizes += i.getBytesRead(); } bits = new BitStream(in); } }
percentage = (short) (((double) counter.getBytesRead() / total) * 100); if (percentage != old_percentage) { mBuilder.setProgress(100, percentage, false)
outputStream = null; percentage = (short) (((double) counter.getBytesRead() / total) * 100); if (percentage != old_percentage) { mBuilder.setProgress(100, percentage, false)