+ long clone_ptr() {
+ long ret = bindings.UpdateFulfillHTLC_clone_ptr(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Creates a copy of the UpdateFulfillHTLC
+ */
+ public UpdateFulfillHTLC clone() {
+ long ret = bindings.UpdateFulfillHTLC_clone(this.ptr);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ UpdateFulfillHTLC ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new UpdateFulfillHTLC(null, ret); }
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Serialize the UpdateFulfillHTLC object into a byte array which can be read by UpdateFulfillHTLC_read
+ */