Returns:
Return the size of the data.
Write the data to the OutputStream.
the size of the data
the output stream