Benzinga / lz4js

Lz4 for the browser.
89 stars 21 forks source link

Internet Explorer and Safari do not support `TypedArray.prototype.slice`. #1

Closed jchv closed 8 years ago

jchv commented 8 years ago

It has come to my attention that IE nor Safari support slicing typed arrays. Also, IE10 does not support the typed array constructor that allows taking a view of a typed array. This suggests that the best plan of action is to implement a slice polyfill that just copies data when slice is unavailable.