title: Google Protocol Buffers - serialize to byte array
body: <p>I'm following the tutorial for using Google Protocol Buffers for C#. I don't see an example for converting an object into a byte array - does anyone know how to do that? I've auto-generated a FilePath classes using the protoc compiler and have this so far:</p>
  
  <pre><code>FilePath fp = new FilePath
  {
      Path = "TestPath",
      RealTimeMultiple = 5.0f
  };
  </code></pre>
  
  <p>So, I need to know how to properly serialize the fp object without the use of BinaryFormatter. </p>