Skip to content

Changed 'new Buffer(size)' to 'Buffer.alloc(size)'.#36

Open
TangentSquared wants to merge 1 commit intoscijs:masterfrom
TangentSquared:master
Open

Changed 'new Buffer(size)' to 'Buffer.alloc(size)'.#36
TangentSquared wants to merge 1 commit intoscijs:masterfrom
TangentSquared:master

Conversation

@TangentSquared
Copy link

@TangentSquared TangentSquared commented Mar 18, 2023

new Buffer(size) is deprecated, so changed it to Buffer.alloc(size).
please refer to this.

'new Buffer(size)' is deprecated. Changed the same to 'Buffer.alloc(size)'
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

Successfully merging this pull request may close these issues.

1 participant