aimozg
02/23/2017, 8:50 PMTypedArray
with UTF-8 bytes to String
, and JS solution is decodeURIComponent(escape(String.fromCharCode.apply(null, typedArray)))
(or not-so-supported new TextDecoder().decode(typedArray)
)bashor
02/27/2017, 7:30 PMfun Int16Array.toString() = js("String").fromCharCode.apply(null, this)