Easier Buffer cloning in node.
var cloneBuffer = require('clone-buffer'); var buffer = new Buffer('test');var cloned = cloneBuffer(buffer);// buffer !== cloned
Takes a Buffer object and returns a clone. Throws if a non-Buffer is passed.
Private packages, team management tools, and powerful integrations. Get started with npm Orgs
how? learn more