- <init>
Constructs a new CountingInputStream.
- getByteCount
The number of bytes that have passed through this stream. NOTE: This method is
an alternative for ge
- close
- getCount
The number of bytes that have passed through this stream. NOTE: From v1.3 this
method throws an Arit
- resetByteCount
Set the byte count back to 0. NOTE: This method is an alternative for resetCount() and was added bec
- read
Reads a number of bytes into the byte array at a specific offset, keeping count
of the number read.
- skip
Skips the stream over the specified number of bytes, adding the skipped amount
to the count.
- mark
- markSupported
- reset
- resetCount
Set the byte count back to 0. NOTE: From v1.3 this method throws an
ArithmeticException if the count