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