You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using @msgpack/msgpack version 1.12.0 from npm, encoding an ArrayBuffer results in an empty object when decoding it. It would be desirable to have it encode as bin, as it would reduce the amount of redundant code required when encoding the result of functions such as SubtleCrypto.digest().
The text was updated successfully, but these errors were encountered:
Newbytee
changed the title
Support encoding ArrayBuffer to bytes directly
Support encoding ArrayBuffer to bin directly
Mar 25, 2020
Even though some APIs directly return ArrayBuffer, I don't recommend to use it, as ArrayBuffer is a low-level memory buffer and designated to be wrapped by ArrayBufferView.
Using @msgpack/msgpack version 1.12.0 from npm, encoding an ArrayBuffer results in an empty object when decoding it. It would be desirable to have it encode as bin, as it would reduce the amount of redundant code required when encoding the result of functions such as
SubtleCrypto.digest()
.The text was updated successfully, but these errors were encountered: