WriteByteBuffer ( stream, ByRef buffer, buffer_size )
Writes a number of bytes from a buffer to the file stream.
stream - A open file
buffer - An array of bytes
buffer_size - The number of bytes to write from buffer (This should be less than size of the buffer)
Example: