Write the given resource to the given output stream.
Parameters: out - The object output stream to write to. Parameters: resource - The resource to write exception: IOException - If something went wrong.
Write the given resource to the given output stream.
Parameters: out - The object output stream to write to. Parameters: description - The resource description to write exception: IOException - If something went wrong.