We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaa7547 commit 17c6b1dCopy full SHA for 17c6b1d
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