writes the number of bytes indicated by count, from the given buffer, to the stream. The current position is moved ahead by the number of bytes written.
Parameters:
buffer
Intput write from this buffer
count
Input number of bytes to write
Remarks:
Note: Write will overwrite some of the contents of the stream if the current position is not at the end of the stream.