[C#] Update auto-generated bindings to LDK-C-Bindings 0.0.123.1
[ldk-java] / c_sharp / src / org / ldk / structs / DecodeError.cs
index 574b6b7f77d854872e34f6f03e980c8d91fad868..bb86b8344f54df6e2de3fe6a4928e4a35ad84a5a 100644 (file)
@@ -206,5 +206,16 @@ public class DecodeError : CommonBase {
                if (!(o is DecodeError)) return false;
                return this.eq((DecodeError)o);
        }
+       /**
+        * Get the string representation of a DecodeError object
+        */
+       public string to_str() {
+               long ret = bindings.DecodeError_to_str(this.ptr);
+               GC.KeepAlive(this);
+               if (ret >= 0 && ret <= 4096) { return null; }
+               string ret_conv = InternalUtils.decodeString(ret);
+               return ret_conv;
+       }
+
 }
 } } }