| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ba9d539 commit 5e1321a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1041,7 +1041,8 @@ in `list` by adding their lengths. | |||
| 1041 | 1041 | ||
| 1042 | 1042 | If `totalLength` is provided, it is coerced to an unsigned integer. If the | |
| 1043 | 1043 | combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is | |
| 1044 | - truncated to `totalLength`. | ||
| 1044 | + 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. | ||
| 1045 | 1046 | ||
| 1046 | 1047 | ```mjs | |
| 1047 | 1048 | import { Buffer } from 'node:buffer'; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments