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
This release adds support for using bufferStuff in the browser.
As a result of these efforts, bufferStuff now contains it's own implementation of Node's Buffer that is used when Buffer is not available.
This can be used in the browser or on node by calling getBufferClass() and then using it as normal as if you were using Buffer.
For example, the following:
constbuffer=Buffer.alloc(1);
Would become:
constbuffer=getBufferClass().alloc(1);
Other than that usage should be 1:1 with Node's Buffer.