pierremtb / easy-fit

Parse your .FIT files easily, directly from JS
Other
70 stars 51 forks source link

Return from getArrayBuffer if object is already an instance of ArrayBuffer #9

Closed ianforsyth closed 8 years ago

ianforsyth commented 8 years ago

Helps when parsing files in the browser. Can take advantage of FileReader.readAsArrayBuffer() and send that directly to the parse() function.

https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsArrayBuffer

pierremtb commented 8 years ago

This sounds perfect, thank you !