public final class SnappyInputStream extends InputStream
| Constructor and Description |
|---|
SnappyInputStream(InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
public SnappyInputStream(InputStream is) throws IOException
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOException - Signals that an I/O exception has occurred.public int read(byte[] b)
throws IOException
read in class InputStreamb - IOException - Signals that an I/O exception has occurred.public int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamb - off - len - IOException - Signals that an I/O exception has occurred.public long skip(long n)
throws IOException
skip in class InputStreamn - IOException - Signals that an I/O exception has occurred.public int available()
throws IOException
available in class InputStreamIOException - Signals that an I/O exception has occurred.public void mark(int readlimit)
mark in class InputStreamreadlimit - public void reset()
throws IOException
reset in class InputStreamIOException - Signals that an I/O exception has occurred.public boolean markSupported()
markSupported in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOException - Signals that an I/O exception has occurred.Copyright © 2021. All rights reserved.