buffer: update doc/api/buffer.md

Co-authored-by: Aviv Keller <redyetidev@gmail.com>
This commit is contained in:
Duncan 2024-10-27 15:44:08 -04:00 committed by GitHub
parent 6e59723fbf
commit 2858bb544e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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';