Like new TextDecoder('utf-16').decode(buffer) Decode to text
new TextDecoder('utf-16').decode(buffer)
Note circu.js supports Uint8Array but not recommended
Buffer containing text
Like
new TextDecoder('utf-16').decode(buffer)Decode to textNote circu.js supports Uint8Array but not recommended