public class BufferedSocketInputStream extends FilterInputStream
Line 50 and Line 70 ~ 72: Returns -1 means reach the end of InputStream. We should remove this class after we bumped a higher mysql-binlog-connector-java version where the https://github.com/osheroff/mysql-binlog-connector-java/issues/66 has been fixed.
in
Constructor and Description |
---|
BufferedSocketInputStream(InputStream in) |
BufferedSocketInputStream(InputStream in,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
close, mark, markSupported, read, reset, skip
public BufferedSocketInputStream(InputStream in)
public BufferedSocketInputStream(InputStream in, int bufferSize)
public int available() throws IOException
available
in class FilterInputStream
IOException
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
Copyright © 2024 The Apache Software Foundation. All rights reserved.