write
Writes size bytes from source into the native memory block.
Reading starts at sourceOffset in source, and writing starts at destinationOffset in the native memory region.
Throws
if size, sourceOffset, or destinationOffset is negative.
if the requested range is out of bounds in either source or the native memory block.