js-util

Home > rc-js-util > RawVoidPointer > createOne

RawVoidPointer.createOne() method

Signature:

static createOne(wrapper: IEmscriptenWrapper<IMemoryUtilBindings>, byteSize: number, allocationFailThrows: boolean): RawVoidPointer;

Parameters

Parameter Type Description
wrapper IEmscriptenWrapper<IMemoryUtilBindings>  
byteSize number  
allocationFailThrows boolean  

Returns:

RawVoidPointer