Package mariadbcdc.binlog.reader.io
Class PacketIO
- java.lang.Object
-
- mariadbcdc.binlog.reader.io.PacketIO
-
public class PacketIO extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PacketIO(java.io.InputStream is, java.io.OutputStream os)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()byte[]readBytes(byte[] buff, int offset, int len)intreadInt(int len)longreadLong(int len)voidwriteByte(byte b)voidwriteBytes(byte[] bytes, int offset, int len)voidwriteInt(int value, int len)
-
-
-
Method Detail
-
readInt
public int readInt(int len)
-
readLong
public long readLong(int len)
-
readBytes
public byte[] readBytes(byte[] buff, int offset, int len)
-
writeInt
public void writeInt(int value, int len)
-
writeBytes
public void writeBytes(byte[] bytes, int offset, int len)
-
writeByte
public void writeByte(byte b)
-
flush
public void flush()
-
-