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 void
record2ByteBuffer
(Record record, ByteBuffer bb) void
write
(byte[] b) void
write
(byte[] b, int off, int len) void
write
(int b) Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream
-
Constructor Details
-
ByteBufferOutputStream
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
record2ByteBuffer
- Throws:
IOException
-