jhplot.io
Class DbByteArrayOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
jhplot.io.DbByteArrayOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class DbByteArrayOutputStream
- extends ByteArrayOutputStream
Extends ByteArrayOutputStream to provide a way of writing the buffer to
a DataOutput without re-allocating it.
Method Summary |
void |
writeTo(DataOutput dstr)
Writes the full contents of the buffer a DataOutput stream. |
DbByteArrayOutputStream
public DbByteArrayOutputStream()
DbByteArrayOutputStream
public DbByteArrayOutputStream(int size)
writeTo
public void writeTo(DataOutput dstr)
throws IOException
- Writes the full contents of the buffer a DataOutput stream.
- Throws:
IOException
jHepWork 3.1 ©