Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Javascript side create byte array

$
0
0
Hi nicoriff,

There's no automatic mapping; you'd have to convert the Uint8Array array to System.Byte[] explicitly. Recent ClearScript versions provide a fast API for that.

As for which array type to use, that depends on which side is doing most of the array access. If the answer is "both", and if we're talking about a large array, then explicit conversion might be the best option.

Cheers!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>