We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59cae91 commit f264dd6Copy full SHA for f264dd6
doc/api/buffer.md
@@ -1042,7 +1042,8 @@ in `list` by adding their lengths.
1042
1043
If `totalLength` is provided, it is coerced to an unsigned integer. If the
1044
combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is
1045
-truncated to `totalLength`.
+truncated to `totalLength`. If the combined length of the `Buffer`s in `list` is
1046
+less than `totalLength`, the remaining space is filled with zeros.
1047
1048
```mjs
1049
import { Buffer } from 'node:buffer';
0 commit comments