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