- public void set_full_information(ReplyShortChannelIdsEnd this_ptr, boolean val) {
- bindings.ReplyShortChannelIdsEnd_set_full_information(this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ /**
+ * Creates a copy of the ReplyShortChannelIdsEnd
+ */
+ public ReplyShortChannelIdsEnd clone() {
+ long ret = bindings.ReplyShortChannelIdsEnd_clone(this.ptr);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ ReplyShortChannelIdsEnd ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new ReplyShortChannelIdsEnd(null, ret); }
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Serialize the ReplyShortChannelIdsEnd object into a byte array which can be read by ReplyShortChannelIdsEnd_read
+ */
+ public byte[] write() {
+ byte[] ret = bindings.ReplyShortChannelIdsEnd_write(this.ptr);
+ return ret;