Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

Alloc

Module: System.Runtime.InteropServices.NativeMemory
Assembly: System.Runtime.dll

Overloads / Variants

Alloc

static func Alloc(byteCount: UIntPtr) -> *void

Parameters

Name Type Description
byteCount UIntPtr

Return value

void*

Alloc

static func Alloc(elementCount: UIntPtr, elementSize: UIntPtr) -> *void

Parameters

Name Type Description
elementCount UIntPtr
elementSize UIntPtr

Return value

void*