public class VCDiffInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ALLOW_VCD_TARGET |
static int |
DEFAULT_MAX_TARGET_FILE_SIZE |
static int |
DEFAULT_MAX_TARGET_WINDOW_SIZE |
| Constructor and Description |
|---|
VCDiffInputStream(InputStream in,
byte[] dictionary) |
VCDiffInputStream(InputStream in,
byte[] dictionary,
long maxTargetFileSize,
int maxTargetWindowSize,
boolean allowVcdTarget) |
VCDiffInputStream(InputStream in,
byte[] dictionary,
VCDiffStreamingDecoder decoder) |
VCDiffInputStream(InputStream in,
ByteBuffer dictionary,
VCDiffStreamingDecoder decoder) |
| 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 static final int DEFAULT_MAX_TARGET_FILE_SIZE
public static final int DEFAULT_MAX_TARGET_WINDOW_SIZE
public static final boolean DEFAULT_ALLOW_VCD_TARGET
public VCDiffInputStream(InputStream in, byte[] dictionary)
public VCDiffInputStream(InputStream in, byte[] dictionary, long maxTargetFileSize, int maxTargetWindowSize, boolean allowVcdTarget)
public VCDiffInputStream(InputStream in, byte[] dictionary, VCDiffStreamingDecoder decoder)
public VCDiffInputStream(InputStream in, ByteBuffer dictionary, VCDiffStreamingDecoder decoder)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreamCopyright © 2018. All rights reserved.