- // Skipped ReplyChannelRange_set_short_channel_ids
- // Skipped ReplyChannelRange_new
- public ReplyChannelRange(byte[] ser) {
- super(bindings.ReplyChannelRange_read(ser));
+ public void set_short_channel_ids(long[] val) {
+ bindings.ReplyChannelRange_set_short_channel_ids(this.ptr, val);
+ }
+
+ public static ReplyChannelRange constructor_new(byte[] chain_hash_arg, int first_blocknum_arg, int number_of_blocks_arg, boolean full_information_arg, long[] short_channel_ids_arg) {
+ long ret = bindings.ReplyChannelRange_new(chain_hash_arg, first_blocknum_arg, number_of_blocks_arg, full_information_arg, short_channel_ids_arg);
+ ReplyChannelRange ret_hu_conv = new ReplyChannelRange(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;
+ }
+
+ public static Result_ReplyChannelRangeDecodeErrorZ constructor_read(byte[] ser) {
+ long ret = bindings.ReplyChannelRange_read(ser);
+ Result_ReplyChannelRangeDecodeErrorZ ret_hu_conv = Result_ReplyChannelRangeDecodeErrorZ.constr_from_ptr(ret);
+ return ret_hu_conv;
+ }
+
+ public byte[] write() {
+ byte[] ret = bindings.ReplyChannelRange_write(this.ptr);
+ return ret;