By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,731 Members | 1,060 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,731 IT Pros & Developers. It's quick & easy.

Any alternative for memcpy in dotnet

P: n/a
Hi

I was wondering if there's any alternative for memcpy in dotnet. What I
actually have to do is to copy the bytes of a uint variable to a byte array.
How is it possible.

Regards

Usman
Mar 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
>What I
actually have to do is to copy the bytes of a uint variable to a byte array.
How is it possible.


Use the BitConverter class.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Mar 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.