1.3.2
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:
const buffer = Buffer.alloc(1);
Would become:
const buffer = getBufferClass().alloc(1);
Other than that usage should be 1:1 with Node's Buffer.