public class ByteCountInputStream extends FilterInputStream
in| Constructor and Description |
|---|
ByteCountInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getByteCount() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
available, close, mark, markSupported, resetpublic ByteCountInputStream(InputStream in)
public long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic Long getByteCount()
Copyright © 2019. All rights reserved.