|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream org.apache.kafka.common.record.ByteBufferOutputStream
public class ByteBufferOutputStream
A byte buffer backed output outputStream
Constructor Summary | |
---|---|
ByteBufferOutputStream(java.nio.ByteBuffer buffer)
|
Method Summary | |
---|---|
java.nio.ByteBuffer |
buffer()
|
void |
write(byte[] bytes,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
---|
close, flush, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteBufferOutputStream(java.nio.ByteBuffer buffer)
Method Detail |
---|
public void write(int b)
write
in class java.io.OutputStream
public void write(byte[] bytes, int off, int len)
write
in class java.io.OutputStream
public java.nio.ByteBuffer buffer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |