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