Skip to content

Commit

Permalink
[squash] buffer: update a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ChALkeR committed Aug 21, 2019
1 parent 331a982 commit bd1b736
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ let poolSize, poolOffset, allocPool;
// do not own the ArrayBuffer allocator. Zero fill is always on in that case.
const zeroFill = bindingZeroFill || [0];

// Hardening Buffer enables Buffer constructor runtime deprecation,
// disables pooling, and enables mandratory zero-fill. This is more secure, but
// has potential performance impact, depending on the usecase.
// Hardening Buffer enables disables unsafe Buffer API, disables pooling,
// and enables mandratory zero-fill. This is more secure, but has potential
// performance and compatibility impact, depending on the usecase.
const hardened = {
applied: false,
zeroFill: false,
Expand Down

0 comments on commit bd1b736

Please sign in to comment.