- public byte[] write(FundingCreated obj) {
- byte[] ret = bindings.FundingCreated_write(obj == null ? 0 : obj.ptr & ~1);
- this.ptrs_to.add(obj);
+ /**
+ * Creates a copy of the FundingCreated
+ */
+ public FundingCreated clone() {
+ long ret = bindings.FundingCreated_clone(this.ptr);
+ FundingCreated ret_hu_conv = new FundingCreated(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Serialize the FundingCreated object into a byte array which can be read by FundingCreated_read
+ */
+ public byte[] write() {
+ byte[] ret = bindings.FundingCreated_write(this.ptr);