Skip to content

Commit

Permalink
doc: document buffer.kStringMaxLength
Browse files Browse the repository at this point in the history
PR-URL: nodejs#38688
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Harshitha K P <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
tniessen authored and jasnell committed May 17, 2021
1 parent 354b0be commit 3b1a993
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -3347,6 +3347,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 3b1a993

Please sign in to comment.