public class ByteBufferOutputStream
extends java.io.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) |
public 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
-
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.