Documentation of 'jhplot.io.db.DbByteArrayOutputStream' Java class.
DbByteArrayOutputStream
jhplot.io.db

Class 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.
    • 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.
      • Methods inherited from class java.io.ByteArrayOutputStream

        close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
      • Methods inherited from class java.io.OutputStream

        flush, write
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DbByteArrayOutputStream

        public DbByteArrayOutputStream()
      • DbByteArrayOutputStream

        public DbByteArrayOutputStream(int size)
    • Method Detail

      • writeTo

        public void writeTo(java.io.DataOutput dstr)
                     throws java.io.IOException
        Writes the full contents of the buffer a DataOutput stream.
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG