Defines the allocation size of the memory region in bytes. You must call this method before you use the System.Runtime.InteropServices.SafeBuffer instance.
numBytes The number of bytes in the buffer.