Allocate unmanaged memory.
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax Request Example
public static IntPtr Alloc(
Public Shared Function Alloc (
size As Integer
) As IntPtr
- Type: SystemInt32
Memory size to allocate.
Return's pointer to the allocated memory buffer.
|OutOfMemoryException||There is insufficient memory to satisfy the request.|Remarks
The method allocates requested amount of memory and returns pointer to it. It may avoid allocation
in the case some caching scheme is uses and there is already enough allocated memory available.