[C#] Update auto-generated bindings to LDK-C-Bindings 0.0.123.1
[ldk-java] / c_sharp / src / org / ldk / structs / Offer.cs
index 61159556567641c5358929ad5479fd1392f1ab63..3db5c8443c8d61e5c6ce11f80ce09a2506ab54c2 100644 (file)
@@ -364,5 +364,16 @@ public class Offer : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Get the string representation of a Offer object
+        */
+       public string to_str() {
+               long ret = bindings.Offer_to_str(this.ptr);
+               GC.KeepAlive(this);
+               if (ret >= 0 && ret <= 4096) { return null; }
+               string ret_conv = InternalUtils.decodeString(ret);
+               return ret_conv;
+       }
+
 }
 } } }