DamonOehlman / filestream

W3C File Reader API streaming interfaces
30 stars 11 forks source link

prevent extra buffer allocation and copy #10

Closed feross closed 9 years ago

feross commented 9 years ago

toBuffer already returns a buffer, no need to do another new Buffer :)

DamonOehlman commented 9 years ago

Yes indeed - well said :)

feross commented 9 years ago

Thanks!