Prints formatted representations of objects to a text-output stream. This class implements all of the print methods found in ByteArrayOutputStream. It does not contain methods for writing raw bytes, for which a program should use unencoded byte streams.

See java.io.ByteArrayOutputStream for full documentation

Hierarchy

Constructors

Methods

  • Closes this output stream and releases any system resources associated with this stream.

    Returns void

  • Flushes this output stream and forces any buffered output bytes to be written out.

    Returns void

  • Returns string

  • Parameters

    • charsetName: string

    Returns string

  • Writes b.length bytes from the specified byte array to this output stream.

    Parameters

    Returns void

  • Writes len bytes from the specified byte array starting at offset off to this output stream.

    Parameters

    Returns void

  • Writes the specified byte to this output stream.

    Parameters

    • b: number

    Returns void

  • Parameters

    Returns any

  • Parameters

    Returns any

Generated using TypeDoc