Skip to content

JSRuntime.CreateArrayBuffer method (1 of 2)

C#
public virtual napi_status CreateArrayBuffer(napi_env env, int byte_length, out IntPtr data, 
    out napi_value result)

See Also


JSRuntime.CreateArrayBuffer method (2 of 2)

C#
public virtual napi_status CreateArrayBuffer(napi_env env, IntPtr external_data, int byte_length, 
    napi_finalize finalize_cb, IntPtr finalize_hint, out napi_value result)

See Also

Released under the MIT license