Write data to the memory buffer. The memory allocated for the buffer will not be changed.
$offset
$data
offset
The offset.
data
The data to write to the memory buffer.