Type: System.Int64 The size of the buffer in bytes that has to be allocated.
createdPinnedObject
Type: System.Object Underlying object (e.g., Array of bytes) that is used for providing createdPinnedBuffer. This object is provided when FreeBuffer() is called.
createdPinnedBuffer
Type: System.IntPtr Return the pointer to the allocated and pinned buffer. This pointer is provided when FreeBuffer() is called.
bufferUserData
Type: System.Object User data information that belongs to the buffer. This user data information is provided when FreeBuffer() is called. The value can be left unchanged if not needed.