doc: increase Buffer.concat() documentation · nodejs/node@a786954 · GitHub
Skip to content

Commit a786954

Browse files
cjihrigMylesBorins
authored andcommitted
doc: increase Buffer.concat() documentation
This commit adds documentation for two edge cases in Buffer.concat(). Those cases are: - totalLength is specified, but is not an integer. - The combined buffer length is greater than totalLength. PR-URL: #11845 Fixes: #11605 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent f43c969 commit a786954

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

doc/api/buffer.md

Lines changed: 4 additions & 0 deletions

0 commit comments

Comments
 (0)