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, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
available, close, mark, markSupported, reset, skip
public DecompressInputStream(InputStream baseStream)
public int readHeader() throws IOException
readHeader
in interface MariaDbInputStream
IOException
- if socket error happenpublic int read(byte[] bytes, int off, int len) throws IOException
read
in interface MariaDbInputStream
read
in class InputStream
IOException
public int read(byte[] bytes) throws IOException
read
in interface MariaDbInputStream
read
in class InputStream
IOException
public int read() throws IOException
read
in interface MariaDbInputStream
read
in class InputStream
IOException
Copyright © 2016. All rights reserved.