- public void set_chain_hash(QueryShortChannelIds this_ptr, byte[] val) {
- bindings.QueryShortChannelIds_set_chain_hash(this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public void set_chain_hash(byte[] val) {
+ bindings.QueryShortChannelIds_set_chain_hash(this.ptr, val);
+ }
+
+ public void set_short_channel_ids(long[] val) {
+ bindings.QueryShortChannelIds_set_short_channel_ids(this.ptr, val);
+ }
+
+ public static QueryShortChannelIds constructor_new(byte[] chain_hash_arg, long[] short_channel_ids_arg) {
+ long ret = bindings.QueryShortChannelIds_new(chain_hash_arg, short_channel_ids_arg);
+ QueryShortChannelIds ret_hu_conv = new QueryShortChannelIds(null, ret);
+ return ret_hu_conv;
+ }
+
+ public static QueryShortChannelIds constructor_read(byte[] ser) {
+ long ret = bindings.QueryShortChannelIds_read(ser);
+ QueryShortChannelIds ret_hu_conv = new QueryShortChannelIds(null, ret);
+ return ret_hu_conv;
+ }
+
+ public byte[] write() {
+ byte[] ret = bindings.QueryShortChannelIds_write(this.ptr);
+ return ret;