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, flush
public ByteBufferOutputStream(ByteBuffer bb)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public static void record2ByteBuffer(Record record, ByteBuffer bb) throws IOException
IOException
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.