public class DecompressInputStream extends InputStream implements MariaDbInputStream
| Constructor and Description |
|---|
DecompressInputStream(InputStream baseStream) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int off,
int len) |
int |
readHeader()
Permit to return mysql packet header length.
|
available, close, mark, markSupported, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitavailable, close, mark, markSupported, reset, skippublic DecompressInputStream(InputStream baseStream)
public int readHeader()
throws IOException
readHeader in interface MariaDbInputStreamIOException - if socket error happenpublic int read(byte[] bytes,
int off,
int len)
throws IOException
read in interface MariaDbInputStreamread in class InputStreamIOExceptionpublic int read(byte[] bytes)
throws IOException
read in interface MariaDbInputStreamread in class InputStreamIOExceptionpublic int read()
throws IOException
read in interface MariaDbInputStreamread in class InputStreamIOExceptionCopyright © 2016. All rights reserved.