ByteArray data from native RTM received as UInt8Array in agora-rtm-sdk web
Closed this issue · 1 comments
jojonarte commented
There currently is a likely conversion/communication problem between different platforms.
Example data sent from native that supports ByteArray
is turned into UInt8Array
From ByteArray
:
[97, 114, 69, 110, 118, 8[97, 114, 69, 110, 118, 80, 97, 114, 97, 109, 58, 63, -128]
to Uint8Array
[97, 114, 69, 110, 118, 8[97, 114, 69, 110, 118, 80, 97, 114, 97, 109, 58, 63, 128
The negative is gone.
jojonarte commented
silly me