org.apache.tapestry5.internal.util

## Class Base64OutputStream

- java.lang.Object
- - java.io.OutputStream
  - - java.io.ByteArrayOutputStream
    - - org.apache.tapestry5.internal.util.Base64OutputStream

- All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

      public final class Base64OutputStream
      extends ByteArrayOutputStream

  An extension of `ByteArrayOutputStream` that allows the final byte array to be converted to a Base64 string.

- - ### Field Summary

    - ### Fields inherited from class java.io.ByteArrayOutputStream

      `buf, count`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Base64OutputStream()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `toBase64()`

    - ### 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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Base64OutputStream

          public Base64OutputStream()

  - ### Method Detail

    - #### toBase64

          public String toBase64()

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.