public class MariaDbBufferedInputStream extends BufferedInputStream implements MariaDbInputStream
in
Constructor and Description |
---|
MariaDbBufferedInputStream(InputStream in,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
readHeader()
Permit to return mysql packet header length super fast if already in cache.
|
available, close, mark, markSupported, read, read, reset, skip
read
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
available, close, mark, markSupported, read, read, read, reset, skip
public MariaDbBufferedInputStream(InputStream in, int size)
public int readHeader() throws IOException
readHeader
in interface MariaDbInputStream
IOException
- id stream throw errorCopyright © 2016. All rights reserved.