@Deprecated public class ByteBuffer extends OutputStream
ByteArrayOutputStream
re-implementation.
This version allows one to read while writing is in progress.
Constructor and Description |
---|
ByteBuffer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
length()
Deprecated.
|
InputStream |
newInputStream()
Deprecated.
Creates an
InputStream that reads from the underlying buffer. |
String |
toString()
Deprecated.
|
void |
write(byte[] b,
int off,
int len)
Deprecated.
|
void |
write(int b)
Deprecated.
|
void |
writeTo(OutputStream os)
Deprecated.
Writes the contents of this buffer to another OutputStream.
|
close, flush, write
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public long length()
public void writeTo(OutputStream os) throws IOException
IOException
public InputStream newInputStream()
InputStream
that reads from the underlying buffer.Copyright © 2015. All rights reserved.