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 <[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 targos committed Jun 5, 2021
1 parent 57fe28d commit 396de72
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 @@ -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 396de72

Please sign in to comment.