'Declaration Public Shared Function AllocateMemory( _ ByVal sizeInBytes As Integer, _ Optional ByVal align As Integer _ ) As IntPtr
public static IntPtr AllocateMemory( int sizeInBytes, int align )
Parameters
- sizeInBytes
- Size of the buffer to allocate.
- align
- Alignment, 16 bytes by default.
Return Value
A pointer to a buffer aligned.