af48ca9e4b
Previously we would convert a bytebuffer to a string, pass it to libaxolotl where it would be parsed back into a bytebuffer. Ideally we would just pass the bytebuffer, but it turns out that libaxolotl's bytebyffer class is identical but separate from libtextsecure's bytebuffer class. ¯\_(ツ)_/¯ So instead we pass the underlying array buffer, which is handled more or less the same way as a bytebuffer, and most importantly, does not involve any copying. // FREEBIE |
||
---|---|---|
.. | ||
storage | ||
test | ||
account_manager.js | ||
api.js | ||
axolotl_wrapper.js | ||
components.js | ||
contacts_parser.js | ||
crypto.js | ||
errors.js | ||
helpers.js | ||
key_worker.js | ||
libaxolotl.js | ||
message_receiver.js | ||
protobufs.js | ||
sendmessage.js | ||
storage.js | ||
stringview.js | ||
websocket-resources.js | ||
websocket.js |