We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2319bc5 commit 13205d5Copy full SHA for 13205d5
doc/api/buffer.md
@@ -1237,7 +1237,7 @@ console.log(b.toString());
1237
1238
`value` is coerced to a `uint32` value if it is not a string, `Buffer`, or
1239
integer. If the resulting integer is greater than `255` (decimal), `buf` will be
1240
-filled with `0`.
+filled with `value & 255`.
1241
1242
If the final write of a `fill()` operation falls on a multi-byte character,
1243
then only the bytes of that character that fit into `buf` are written:
0 commit comments