This is built-in to node as `Buffer.concat`.