SheetJS / js-cfb

:floppy_disk: OLE File Container Format
https://sheetjs.com/cfb-editor
Apache License 2.0
69 stars 15 forks source link

Use Buffer.copy() if available to write file contents to final CFB Buffer #13

Closed rossj closed 3 years ago

rossj commented 3 years ago

This addresses #2 by using Buffer.copy() for placing file contents within output Buffer, when available. Tested and working in Node 0.10 and 0.12 where new Buffer() does not zero fill.