Skip to content
Prev Previous commit
[squash] Update doc/api/buffer.md
Co-Authored-By: mscdex <mscdex@users.noreply.github.com>
  • Loading branch information
ChALkeR and mscdex authored Aug 22, 2019
commit 587c8d03278daeeb8ee4f3a291e41b4576294c0f
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ deprecated unsafe Buffer API, freezes `Buffer` and `require('buffer')` objects.

The exact behaviour could be fine-tuned: for example, to still allow unsafe
Buffer API for compatibility reasons (e.g. if that us required by application
dependencies), `Buffer.haden({ throwOnUnsafe: false })` could be used.
dependencies), `Buffer.harden({ throwOnUnsafe: false })` could be used.

### Class Method: Buffer.from(string[, encoding])
<!-- YAML
Expand Down