- public byte[] write(QueryChannelRange obj) {
- byte[] ret = bindings.QueryChannelRange_write(obj == null ? 0 : obj.ptr & ~1);
- this.ptrs_to.add(obj);
+ /**
+ * \n\t * Calculates the overflow safe ending block height for the query.\n\t * Overflow returns `0xffffffff`, otherwise returns `first_blocknum + number_of_blocks`\n\t
+ */
+ public int end_blocknum() {
+ int ret = bindings.QueryChannelRange_end_blocknum(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Serialize the QueryChannelRange object into a byte array which can be read by QueryChannelRange_read
+ */
+ public byte[] write() {
+ byte[] ret = bindings.QueryChannelRange_write(this.ptr);