- public static Result_ReplyShortChannelIdsEndDecodeErrorZ constructor_read(Uint8Array ser) {
- number ret = bindings.ReplyShortChannelIdsEnd_read(ser);
- Result_ReplyShortChannelIdsEndDecodeErrorZ ret_hu_conv = Result_ReplyShortChannelIdsEndDecodeErrorZ.constr_from_ptr(ret);
+ public number clone_ptr() {
+ number ret = bindings.ReplyShortChannelIdsEnd_clone_ptr(this.ptr);
+ return ret;
+ }
+
+ public ReplyShortChannelIdsEnd clone() {
+ number ret = bindings.ReplyShortChannelIdsEnd_clone(this.ptr);
+ const ret_hu_conv: ReplyShortChannelIdsEnd = new ReplyShortChannelIdsEnd(null, ret);
+ ret_hu_conv.ptrs_to.add(this);