public class CountingInputStream extends SdkFilterInputStream
in
Constructor and Description |
---|
CountingInputStream(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, getDelegateStream, isAborted, isMetricActivated, mark, markSupported, release, reset, skip
read
public CountingInputStream(InputStream in)
public long getByteCount()
public int read() throws IOException
read
in class SdkFilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class SdkFilterInputStream
IOException
Copyright © 2018. All rights reserved.