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
[Squash] nit
Co-Authored-By: jasnell <jasnell@gmail.com>
  • Loading branch information
lpinca and jasnell authored Oct 19, 2018
commit d9d9c387eb9aa9fd4a3c81ff0b0060e4b404d4a8
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@ buf2.swap16();
```

One convenient use of `buf.swap16()` is to perform a fast *in-place* conversion
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: remove italics?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go for it :)

Comment thread
jasnell marked this conversation as resolved.
Outdated
between UTF-16 little-endian and UTF16 big-endian:
between UTF-16 little-endian and UTF-16 big-endian:

```js
const buf = Buffer.from('This is little-endian UTF-16', 'utf16le');
Expand Down