[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / APIError.cs
index b32701c6ff1e4fb193509ded3e153a110d795fb9..bf71371bc8fbe5a769692666aadc1e22e5893190 100644 (file)
@@ -198,5 +198,14 @@ public class APIError : CommonBase {
                if (!(o is APIError)) return false;
                return this.eq((APIError)o);
        }
+       /**
+        * Serialize the APIError object into a byte array which can be read by APIError_read
+        */
+       public byte[] write() {
+               byte[] ret = bindings.APIError_write(this.ptr);
+               GC.KeepAlive(this);
+               return ret;
+       }
+
 }
 } } }