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
{{ message }}
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.
I think Buffer.from() exists on LTS as well, but I'm not sure. In any ways, I'm not removing it until there's a version that just doesn't support it anymore. The intention was to allow this lib to be usable with 0.10.x and such.
@izy521 To clarify, do you feel strongly about keeping 0.10 support, or do you just prefer to keep things as-is unless there is a reason to change? (and in the latter case, would a runtime warning for the usage of Buffer() be such a reason?)
Sorry for the late reply @seishun . At this point I'm no longer interested in keeping support for 0.10, or any of the older versions that don't have Buffer.from() or Buffer.alloc/Unsafe(). The next version of my lib will be switching to those methods.
Usage of new Buffer(size):
Usage of new Buffer(array):
The text was updated successfully, but these errors were encountered: