34
GitHub - Zaseth/ByteArray.js: An equivalent to Actionscript 3's ByteArra...
source link: https://github.com/Zaseth/ByteArray.js
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
ByteArray.js
An equivalent to Actionscript 3's ByteArray for Javascript with AMF0 and AMF3 support.
But, why?
I started this project since Flash will end in around 2020, resulting in losing these amazing packages.
Is there a high performance version?
Yes, there is. You can find it here.
AMF support
ByteArray.js fully supports AMF0 and AMF3 serialization and deserialization.
Unique data types support
ByteArray.js supports DEFLATE, ZLIB, LZMA compression and decompression, var-integers, int64, objects, arrays, the dataview method and IEEE754 values.
Installation
npm install bytearray.js
bower install bytearray.js
Examples & documentation
Examples: test.js
Documentation: wiki
Bugs & contributing
Send an issue or pull request and I will review it asap. You can always contact me as well.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK