Writes out a sequence of bytes from a given position in RAM. The returned value is the number of bytes actually written. This would only be less than the reqested number of bytes if there is an error writing to the stream.
The start address of the bytes to be written to the stream.
The number of bytes to be transferred.