Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update buffer.md
  • Loading branch information
rexagod authored Jun 16, 2019
commit a5c99156db82c6ccfa3355498912e47f093d4828
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ It should also be noted that a `U+FFFD` replacement value
in case of decoding errors (invalid unicode scalar values).

```js
// assume an invalid byte sequence
// Assuming an invalid byte sequence
const buf = Buffer.from([237, 166, 164]);

const buf_str = buf.toString('utf-8');
Expand Down