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