Package org.apache.zookeeper.server
Class ByteBufferOutputStream
java.lang.Object
java.io.OutputStream
org.apache.zookeeper.server.ByteBufferOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrecord2ByteBuffer(Record record, ByteBuffer bb) voidwrite(byte[] b) voidwrite(byte[] b, int off, int len) voidwrite(int b) Methods inherited from class java.io.OutputStream
close, flush
-
Constructor Details
-
ByteBufferOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
record2ByteBuffer
- Throws:
IOException
-