Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ACTIONSCRIPT

DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

new Buffer(string, encoding)  // Old
Buffer.from(string, encoding) // New
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #deprecated #due #security #usability #Please #methods
ADD COMMENT
Topic
Name
5+6 =