Libraries anvil io InputStream writeTo

int writeTo(OutputStream output)
Writes the contents of this stream to given OutputStream.
Returns Amount of bytes written
Throws IOError -  If an I/O error occurs.