1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
Hi,
UInt8Array (=array of unsigned btyes) means that you deal with bytes instead of a string
You must convert this array to a string to make your life easier.
Something like the following should solve your issue
const asciiDecoder = new TextDecoder('ascii');
const data = asciiDecoder.decode(YourArray);
Best,
Didier
Glad that you found the solution. Thanks for accepting my answer.