Semi-Serialization

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Nevermind... Looks like System.BitConverter will do the trick.
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
 

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