Closed
Description
As specified in the N-API documentation, napi_get_value_string_length
returns the string length as an int
, but the JS spec mandates it to be an unsigned integer at most 253-1. It may be more appropriate here to return a uint64_t
instead.
(BTW, I use "return" loosely, in reference to its out parameter.)