Uint8Array to Array

Uint8Array to Array

BY 25 Feb 2015 Web Application Development

Hi

I met a strange problem. I would like to convert Uint8Array  to Array in order to use with

Filesystem API methods FileStream.writeBytes(octet[] byteData);

The method not accept Uint8Array. After converting like that Array [n] = Uint8Array [n], it works,

but this solution is extremly slow for bigger array.

 

Regards,

slaw

Written by