public byte[] ToProtoBytes()
 {
     return(ClientReady.SerializeToBytes(this));
 }
 public static void SerializeLengthDelimited(Stream stream, ClientReady instance)
 {
     byte[] bytes = ClientReady.SerializeToBytes(instance);
     ProtocolParser.WriteUInt32(stream, (uint)bytes.Length);
     stream.Write(bytes, 0, (int)bytes.Length);
 }