You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, you should use new Buffer.alloc(size) or new Buffer.from('c469ea095c6adf13', 'hex').
Changing it might cause compatibility issues in older versions of Node.js though. You can always write around it, but you could also upgrade the minimum version.
The text was updated successfully, but these errors were encountered:
Sawtaytoes
changed the title
Buffer is deprecated
Using Buffer is deprecated
Jun 6, 2019
In newer versions of Node.js, using
new Buffer
is now deprecated.https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/
Instead, you should use
new Buffer.alloc(size)
ornew Buffer.from('c469ea095c6adf13', 'hex')
.Changing it might cause compatibility issues in older versions of Node.js though. You can always write around it, but you could also upgrade the minimum version.
The text was updated successfully, but these errors were encountered: