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

Semi-Serialization

P: n/a
Is there a basic way to convert an integer into an array of 4 bytes and vice versa? I know you can serialize and deserialize, but there's more data involved in the serialized representation than just the four bytes of the integer...

Thanks.

Jerry
Sep 25 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Nevermind... Looks like System.BitConverter will do the trick.
<rl*****@newsgroups.nospamwrote in message news:OZ**************@TK2MSFTNGP02.phx.gbl...
Is there a basic way to convert an integer into an array of 4 bytes and vice versa? I know you can serialize and deserialize, but there's more data involved in the serialized representation than just the four bytes of the integer...

Thanks.

Jerry
Sep 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.