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
vsemozhetbyt and jasnell authored Oct 19, 2018
commit 3e3c7ccccd480efd90a3b3059535f6fc5aa8699a
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1941,7 +1941,7 @@ between UTF-16 little-endian and UTF16 big-endian:

```js
const buf1 = Buffer.from('This is little-endian UTF-16', 'utf16le');
Comment thread
jasnell marked this conversation as resolved.
Outdated
buf1.swap16(); // Convert to big-endian UTF-16 text
buf.swap16(); // Convert to big-endian UTF-16 text.
```

### buf.swap32()
Expand Down