Allocates a native memory region of size bytes and returns a Buffer for reading and writing it.
if size is not positive.
if there is not enough memory available.