Bug 921314 buffer parity with node.js API