I tracked down an issue on cordova (includes node.js) where Buffer.prototype.slice result in returning the same value as the input buffer.
In iOS <10, this results shifting out 16 bytes:
var out = this.cache.slice(0, 16)
this.cache = this.cache.slice(16)
In iOS 10, this.cache will be unmodified.
I haven't tracked it down, but seems to be a Buffer.TYPED_ARRAY_SUPPORT problem.
If I remove the if at
|
if (Buffer.TYPED_ARRAY_SUPPORT) { |
it does work on iOS 10.
I tracked down an issue on cordova (includes node.js) where
Buffer.prototype.sliceresult in returning the same value as the input buffer.In iOS <10, this results shifting out 16 bytes:
In iOS 10,
this.cachewill be unmodified.I haven't tracked it down, but seems to be a
Buffer.TYPED_ARRAY_SUPPORTproblem.If I remove the if at
buffer/index.js
Line 1078 in c5267f4