Java IO Tutorial - ByteArrayOutputStream Example








Constructor

  1. Java ByteArrayOutputStream() Constructor
  2. Java ByteArrayOutputStream(int size) Constructor

Method

  1. Java ByteArrayOutputStream.close()
  2. Java ByteArrayOutputStream.reset()
  3. Java ByteArrayOutputStream.size()
  4. Java ByteArrayOutputStream .toByteArray ()
  5. Java ByteArrayOutputStream .toString ()
  6. Java ByteArrayOutputStream .toString (String charsetName)
  7. Java ByteArrayOutputStream .write (byte[] b, int off, int len)
  8. Java ByteArrayOutputStream .write (int b)
  9. Java ByteArrayOutputStream .writeTo (OutputStream out)