public class ZstdInputStreamV04
extends java.io.FilterInputStream
Modifier and Type | Field and Description |
---|---|
protected int |
iPos |
protected int |
toRead |
Constructor and Description |
---|
ZstdInputStreamV04(java.io.InputStream inStream,
byte[] header,
int iPos) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
boolean |
markSupported() |
int |
read_truncated(byte[] dst,
int offset,
int len) |
int |
read(byte[] dst,
int offset,
int len) |
long |
skip(long n) |
public ZstdInputStreamV04(java.io.InputStream inStream, byte[] header, int iPos) throws java.io.IOException
java.io.IOException
public int read(byte[] dst, int offset, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read_truncated(byte[] dst, int offset, int len) throws java.io.IOException
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.FilterInputStream
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.FilterInputStream
public long skip(long n)
skip
in class java.io.FilterInputStream
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterInputStream
java.io.IOException