I need to move bytes between two "arrays" (sorry about my Pascal way to
speak), from byte[] to byte[] and wonder if there is some "automatic" way.
Thanks
Morten Wennevik said:
Hi Carmen,
That was _very_ vague And the answer depends entirely upon what source
Yes, there is. Use Buffer.BlockCopy or Array.Copy. The former should work
faster while the later is more generic.
HTH
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com www.rthand.com
carmen said:
I need to move bytes between two "arrays" (sorry about my Pascal way to
speak), from byte[] to byte[] and wonder if there is some "automatic" way.
Thanks
Morten Wennevik said:
Hi Carmen,
That was _very_ vague And the answer depends entirely upon what
Yes, there is. Use Buffer.BlockCopy or Array.Copy. The former should work
faster while the later is more generic.
HTH
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com www.rthand.com
carmen said:
I need to move bytes between two "arrays" (sorry about my Pascal way to
speak), from byte[] to byte[] and wonder if there is some "automatic" way.
Thanks
Morten Wennevik said:
Hi Carmen,
That was _very_ vague And the answer depends entirely upon what
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.