C
carmen
I don't know if it's possible some kind of "move" function to move bytes
from a source to a destination automatically.
Thanks
Carmen
from a source to a destination automatically.
Thanks
Carmen
and destination you have in mind.Morten Wennevik said:Hi Carmen,
That was _very_ vagueAnd the answer depends entirely upon what source
Happy coding!
Morten Wennevik [C# MVP]
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
sourceMorten Wennevik said:Hi Carmen,
That was _very_ vagueAnd the answer depends entirely upon what
and destination you have in mind.Happy coding!
Morten Wennevik [C# MVP]
Miha Markic said:Hi carmen,
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
sourceMorten Wennevik said:Hi Carmen,
That was _very_ vagueAnd the answer depends entirely upon what
and destination you have in mind.Happy coding!
Morten Wennevik [C# MVP]