a way to cast complete arrays (performant)?

  • Thread starter Thread starter Sven Erik Matzen
  • Start date Start date
S

Sven Erik Matzen

Hi,

Is there a way to quickly cast an array of "bytes" to an array of "signed
bytes"?

Sven
 
Sven,
Is there a way to quickly cast an array of "bytes" to an array of "signed
bytes"?

No a cast wont work, but you can do a copy with Buffer.BlockCopy



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top