使用AMF来进行序列化和反序列化,性能比JSON好一些
encodeObject 序列化,返回值是一个Buffer
decodeObject 反序列化,返回值是一个对象
npm i ham-amf
Gitgit.coding.net/as3long/node-amf.git
3
1.0.4
Apache-2.0
45.6 kB
19
6 years ago