Emulate OutputStream.write().
The content to write.
Return the number of bytes written, which may be less than provided (conceptually).
Remarks: Appends src content to the buffer, flushing to an attached conduit as necessary. An IOException is thrown upon write failure.
See Implementation
Emulate OutputStream.write().