Semi-Serialization

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    Semi-Serialization

    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
  • Guest's Avatar

    #2
    Re: Semi-Serialization

    Nevermind... Looks like System.BitConve rter will do the trick.
    <rlrcstr@newsgr oups.nospamwrot e in message news:OZzeL6N4GH A.4976@TK2MSFTN GP02.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

    Comment

    Working...