pub unsafe extern "C" fn napi_create_bigint_uint64(
env: napi_env,
value: u64,
result: *mut napi_value,
) -> napi_statusAvailable on crate feature
napi only.Expand description
Creates an ArkTS BigInt from C int64 data.
§Arguments
-
env- Current running virtual machine context. -
value- C int64 data. -
result- Created ArkTS BigInt object from C int64 data.
§Returns
- Returns the function execution status.
[
napi_ok] If the function executed successfully.
[napi_invalid_arg] If env or result is nullptr.
Available since API-level: 10