public class BrotliInputStream extends InputStream
| Constructor and Description |
|---|
BrotliInputStream(InputStream source)
Creates a BrotliInputStream
|
BrotliInputStream(InputStream source,
int bufferSize)
Creates a BrotliInputStream
|
| Modifier and Type | Method and Description |
|---|---|
void |
attachDictionary(ByteBuffer dictionary)
Creates a BrotliInputStream
|
int |
available() |
void |
close() |
void |
enableEagerOutput() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
mark, markSupported, resetpublic BrotliInputStream(InputStream source, int bufferSize) throws IOException
source - underlying sourcebufferSize - intermediate buffer sizeIOException - If any failure during initializationpublic BrotliInputStream(InputStream source) throws IOException
source - underlying sourceIOException - If any failure during initializationpublic void attachDictionary(ByteBuffer dictionary) throws IOException
dictionary - ByteBuffer containing dictionaryIOException - If any failure during initializationpublic void enableEagerOutput()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int available()
available in class InputStreampublic 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 InputStreamIOExceptionCopyright © 2024. All rights reserved.