+ /**
+ * Creates a copy of the UpdateAddHTLC
+ */
+ public UpdateAddHTLC clone() {
+ long ret = bindings.UpdateAddHTLC_clone(this.ptr);
+ UpdateAddHTLC ret_hu_conv = new UpdateAddHTLC(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Serialize the UpdateAddHTLC object into a byte array which can be read by UpdateAddHTLC_read
+ */