public class CountingInputStream extends SdkFilterInputStream
| Constructor and Description |
|---|
CountingInputStream(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
long |
getByteCount()
Returns the number of bytes read from this stream so far.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
abort, abortIfNeeded, available, close, isMetricActivated, mark, markSupported, reset, skippublic long getByteCount()
public int read()
throws java.io.IOException
read in class SdkFilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class SdkFilterInputStreamjava.io.IOException