- // Skipped QueryShortChannelIds_set_short_channel_ids
- // Skipped QueryShortChannelIds_new
- public QueryShortChannelIds(byte[] ser) {
- super(bindings.QueryShortChannelIds_read(ser));
+ /**
+ * Creates a copy of the QueryShortChannelIds
+ */
+ public QueryShortChannelIds clone() {
+ long ret = bindings.QueryShortChannelIds_clone(this.ptr);
+ QueryShortChannelIds ret_hu_conv = new QueryShortChannelIds(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Read a QueryShortChannelIds from a byte array, created by QueryShortChannelIds_write
+ */
+ public static Result_QueryShortChannelIdsDecodeErrorZ constructor_read(byte[] ser) {
+ long ret = bindings.QueryShortChannelIds_read(ser);
+ Result_QueryShortChannelIdsDecodeErrorZ ret_hu_conv = Result_QueryShortChannelIdsDecodeErrorZ.constr_from_ptr(ret);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Serialize the QueryShortChannelIds object into a byte array which can be read by QueryShortChannelIds_read
+ */
+ public byte[] write() {
+ byte[] ret = bindings.QueryShortChannelIds_write(this.ptr);
+ return ret;