For the sake of efficiency the provided memory may be some sort of
shared memory, which can be used temporarily, to transfer data somewhere,
e.g. to native code. Please note that the usage of this buffer in
multi-threaded code has to be synchronized.