public class ByteBufferOutputStream extends OutputStream
| Constructor and Description | 
|---|
ByteBufferOutputStream(ByteBuffer bb)  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
record2ByteBuffer(Record record,
                 ByteBuffer bb)  | 
void | 
write(byte[] b)  | 
void | 
write(byte[] b,
     int off,
     int len)  | 
void | 
write(int b)  | 
close, flushpublic ByteBufferOutputStream(ByteBuffer bb)
public void write(int b)
           throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
           throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
                  int off,
                  int len)
           throws IOException
write in class OutputStreamIOExceptionpublic static void record2ByteBuffer(Record record, ByteBuffer bb) throws IOException
IOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.