Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Buffer usage (new Node.js version) #354

Open
aw3s0me opened this issue Oct 24, 2016 · 0 comments
Open

Changing Buffer usage (new Node.js version) #354

aw3s0me opened this issue Oct 24, 2016 · 0 comments

Comments

@aw3s0me
Copy link

aw3s0me commented Oct 24, 2016

Hello everyone,
According to Node.js documentation, new Buffer(..) is deprecated. (https://nodejs.org/api/buffer.html#buffer_new_buffer_array
Is it possible to change to .alloc method and .from?
For instance, there [https://github.com/hybridgroup/cylon-ble/blob/master/lib/characteristic.js#L50](Link to new Buffer line).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant