Since ArrayBuffer support has been added, this change includes deduping TypedArray.prototype.buffer references, applying proper byte offset and length, as well as changes to encoding format (which is now delegated to the ArrayBuffer source)
Fix deserialization for Typed Arrays encoded in JSON format
Since typed arrays cannot resize, there has been issues where typed arrays remained empty.
ArrayBuffer
https://github.com/lxsmnsyc/seroval/pull/13/commits/cdd0ed80df02e961fafd0f5a6609f3cf691c0719ArrayBuffer
support has been added, this change includes dedupingTypedArray.prototype.buffer
references, applying proper byte offset and length, as well as changes to encoding format (which is now delegated to theArrayBuffer
source)DataView
https://github.com/lxsmnsyc/seroval/pull/13/commits/28fd1accb3bce327f7b3558d58c8397364574aacBlob
https://github.com/lxsmnsyc/seroval/pull/13/commits/ec017d7b096de7fba7d16ff41ba61fe0985fef78File
https://github.com/lxsmnsyc/seroval/pull/13/commits/d598849151ec0f9a6c173e26df4954a4bbd96f60Headers
https://github.com/lxsmnsyc/seroval/pull/13/commits/3ee4191ba00c6449ebb3c947753dde1316f13ea7FormData
https://github.com/lxsmnsyc/seroval/pull/13/commits/a4665004677557fe39a34ed8d379897bb7cc4fb4