Skip to content

Commit

Permalink
doc: document buffer.kStringMaxLength
Browse files Browse the repository at this point in the history
PR-URL: #38688
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
tniessen authored and targos committed Jun 11, 2021
1 parent 2e8dfee commit 88055ab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/api/buffer.md
Expand Up @@ -3170,6 +3170,15 @@ added: v3.0.0

An alias for [`buffer.constants.MAX_LENGTH`][].

### `buffer.kStringMaxLength`
<!-- YAML
added: v3.0.0
-->

* {integer} The largest length allowed for a single `string` instance.

An alias for [`buffer.constants.MAX_STRING_LENGTH`][].

### `buffer.transcode(source, fromEnc, toEnc)`
<!-- YAML
added: v7.1.0
Expand Down

0 comments on commit 88055ab

Please sign in to comment.