mirror of https://github.com/nodejs/node.git
buffer: update doc/api/buffer.md
Co-authored-by: Aviv Keller <redyetidev@gmail.com>
This commit is contained in:
parent
6e59723fbf
commit
2858bb544e
|
@ -1043,7 +1043,7 @@ in `list` by adding their lengths.
|
|||
If `totalLength` is provided, it is coerced to an unsigned integer. If the
|
||||
combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is
|
||||
truncated to `totalLength`. If the combined length of the `Buffer`s in `list` is
|
||||
less than `totalLength` then the remaining space is filled with zeros.
|
||||
less than `totalLength`, the remaining space is filled with zeros.
|
||||
|
||||
```mjs
|
||||
import { Buffer } from 'node:buffer';
|
||||
|
|
Loading…
Reference in New Issue