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