• 1.3.2 d12d971ef5

    1.3.2 Stable

    tgpholly released this 2023-10-24 12:04:32 +01:00 | 18 commits to master since this release

    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.

    Downloads