public static void Serialize (Stream stream, RequestWriteChunk instance)
		{
			if (instance.ChunkData == null)
				throw new ArgumentNullException ("ChunkData", "Required by proto specification.");
			ProtocolParser.WriteKey (stream, new ProtocolBuffers.Key (1, Wire.LengthDelimited));
			ProtocolParser.WriteBytes (stream, instance.ChunkData);
		}
		public static byte[] SerializeToBytes (RequestWriteChunk instance)
		{
			using (MemoryStream ms = new MemoryStream()) {
				Serialize (ms, instance);
				return ms.ToArray ();
			}
		}
		public static RequestWriteChunk Deserialize (Stream stream)
		{
			RequestWriteChunk instance = new RequestWriteChunk ();
			Deserialize (stream, instance);
			return instance;
		}