We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58952a1 commit 0c046e8Copy full SHA for 0c046e8
doc/api/buffer.md
@@ -1240,7 +1240,7 @@ console.log(b.toString());
1240
1241
`value` is coerced to a `uint32` value if it is not a string, `Buffer`, or
1242
integer. If the resulting integer is greater than `255` (decimal), `buf` will be
1243
-filled with `0`.
+filled with `value & 255`.
1244
1245
If the final write of a `fill()` operation falls on a multi-byte character,
1246
then only the bytes of that character that fit into `buf` are written:
0 commit comments