A cross-platform (node.js and browser) buffer toolkit