Open gabrielschulhof opened 6 years ago
The new Buffer(...) constructor is used in a a few places in the code, but it is unsafe and deprecated. Can it be replaced with Buffer.from(...)?
new Buffer(...)
Buffer.from(...)
@liangpeili could you assign this issue to me?
The
new Buffer(...)
constructor is used in a a few places in the code, but it is unsafe and deprecated. Can it be replaced withBuffer.from(...)
?