size_t in Stream

Hi all,

trying to fix a warning about different signs I noticed that into the Stream class all methods returning the size of what has been written to the stream have int as return type. What about changing it to size_t?

Best regards,
Marco