ByteArrayOutputStream.writeTo
Class Overview | Class Members |
This Package |
All Packages
public synchronized void writeTo( OutputStream out ) throws IOException
Parameters
- out
- the output stream to which to write the data.
Description
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).
Exceptions
IOException
if an I/O error occurs.