public class TCheckedInputStream extends FilterInputStream
in
Constructor and Description |
---|
TCheckedInputStream(InputStream is,
TChecksum csum) |
Modifier and Type | Method and Description |
---|---|
TChecksum |
getChecksum() |
int |
read() |
int |
read(byte[] buf,
int off,
int nbytes) |
long |
skip(long nbytes) |
available, close, mark, markSupported, read, reset
public TCheckedInputStream(InputStream is, TChecksum csum)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] buf, int off, int nbytes) throws IOException
read
in class FilterInputStream
IOException
public TChecksum getChecksum()
public long skip(long nbytes) throws IOException
skip
in class FilterInputStream
IOException
Copyright © 2019. All rights reserved.