title: Serialization of a long array (in C)
body: <p>in a C program I have an long* that I want to serialize (thus converting to chars). A long doesn't fit in a single char, and the size varies depending of the processor (can be 4 bytes or 8 bytes).</p>
  
  <p>Theres a good way to make the serialization and de-serialization? </p>