## Uses of Class
java.io.OutputStream

- Packages that use OutputStream
  Package | Description
  --- | ---
  java.io |

- - ### Uses of OutputStream in java.io

    Subclasses of OutputStream in java.io
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ByteArrayOutputStream` This class implements an output stream in which the data is written into a byte array.

    Methods in java.io with parameters of type OutputStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | ByteArrayOutputStream.`writeTo(OutputStream out)` Writes the complete contents of this byte array output stream to the specified output stream argument, as if by calling the output stream's write method using `out.write(buf, 0, count)`.

Copyright © 2025 API Design. All Rights Reserved.