Package org.apache.zookeeper.server
Class ByteBufferInputStream
java.lang.Object
java.io.InputStream
org.apache.zookeeper.server.ByteBufferInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic voidbyteBuffer2Record(ByteBuffer bb, Record record) intread()intread(byte[] b) intread(byte[] b, int off, int len) longskip(long n) Methods inherited from class java.io.InputStream
close, mark, markSupported, reset
-
Constructor Details
-
ByteBufferInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
byteBuffer2Record
- Throws:
IOException
-