jhplot.io.db
Class DbByteArrayOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- jhplot.io.db.DbByteArrayOutputStream
-
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
public class DbByteArrayOutputStream extends java.io.ByteArrayOutputStream
Extends ByteArrayOutputStream to provide a way of writing the buffer to a DataOutput without re-allocating it.
-
-
Constructor Summary
Constructors Constructor and Description DbByteArrayOutputStream()
DbByteArrayOutputStream(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
writeTo(java.io.DataOutput dstr)
Writes the full contents of the buffer a DataOutput stream.
-
DMelt 3.0 © DataMelt by jWork.ORG