Write *data* to the output stream and return the number of items written.
io/Writer.write
Writer.write