Writes a block of bytes to the current stream using data from a buffer.
buffer The byte array from which to copy bytes to the current stream.offset The offset in the buffer at which to begin copying bytes to the current stream.count The number of bytes to write to the current stream.
Writing occurs at the current position in the stream.