Nagging Mario's Princess
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    buffer-helperspublic

    Node Buffer helper functions

    Install

    npm install buffer-helpers
    

    Usage

    require('buffer-helpers');

    Helper functions will be loaded onto Buffer.prototype

    • isEqualTo(buf) - compares calling buffer to buf and returns true if they are equal
    • extractSubsets(startDelim, endDelim) - returns an array of Buffers containing all of the occurences between startDelim and endDelim
    • extractSubsetsRecursive(startDelim, endDelim) - a recursive version

    License

    MIT http://opensource.org/licenses/mit-license.php

    Keywords

    none

    install

    npm i buffer-helpers

    Downloadslast 7 days

    1

    version

    0.0.2

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar