Libraries anvil system Resource writeTo

void writeTo(OutputStream output)
Writes the content to given output stream. This is possibly more effient than explicitly getting the content out of resource.
Throws IOError -  If an I/O error occurs.