public class ByteBufferQueueOutputStream extends OutputStream
OutputStream
backed by a ByteBufferQueue
.Constructor and Description |
---|
ByteBufferQueueOutputStream(ByteBufferQueue queue)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, write
public ByteBufferQueueOutputStream(ByteBufferQueue queue)
queue
- the backing queue.public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(@NonNull byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
Copyright © 2004–2022. All rights reserved.