diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 6bd89920fe603c..dd965bbf226194 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -3347,6 +3347,15 @@ added: v3.0.0 An alias for [`buffer.constants.MAX_LENGTH`][]. +### `buffer.kStringMaxLength` + + +* {integer} The largest length allowed for a single `string` instance. + +An alias for [`buffer.constants.MAX_STRING_LENGTH`][]. + ### `buffer.transcode(source, fromEnc, toEnc)`