public class ByteBufferOutputStream extends OutputStream
| Constructor and Description |
|---|
ByteBufferOutputStream(byte[] buf)
Initializes a new ByteBufferOutputStream instance which is to
represent a specific byte array as an OutputStream.
|
ByteBufferOutputStream(byte[] buf,
int off,
int len)
Initializes a new ByteBufferOutputStream instance which is to
represent a specific byte array as an OutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
size()
Returns the number of bytes written into this OutputStream.
|
void |
write(int b) |
close, flush, write, writepublic ByteBufferOutputStream(byte[] buf)
buf - the byte array for which the new instance is to
implement OutputStreampublic ByteBufferOutputStream(byte[] buf,
int off,
int len)
buf - the byte array for which the new instance is to
implement OutputStreamoff - len - public int size()
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2022 jitsi.org. All rights reserved.