Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3689,6 +3689,8 @@ napi_status napi_get_value_string_latin1(napi_env env,
is returned in `result`.
* `[in] bufsize`: Size of the destination buffer. When this value is
insufficient, the returned string is truncated and null-terminated.
If this value is zero, then the string is not returned and no changes are done
to the buffer.
* `[out] result`: Number of bytes copied into the buffer, excluding the null
terminator.

Expand Down Expand Up @@ -3720,6 +3722,8 @@ napi_status napi_get_value_string_utf8(napi_env env,
returned in `result`.
* `[in] bufsize`: Size of the destination buffer. When this value is
insufficient, the returned string is truncated and null-terminated.
If this value is zero, then the string is not returned and no changes are done
to the buffer.
* `[out] result`: Number of bytes copied into the buffer, excluding the null
terminator.

Expand Down Expand Up @@ -3750,6 +3754,8 @@ napi_status napi_get_value_string_utf16(napi_env env,
null terminator is returned.
* `[in] bufsize`: Size of the destination buffer. When this value is
insufficient, the returned string is truncated and null-terminated.
If this value is zero, then the string is not returned and no changes are done
to the buffer.
* `[out] result`: Number of 2-byte code units copied into the buffer, excluding
the null terminator.

Expand Down
Loading