Closed elagil closed 3 months ago
I found that I have to call capn_resolve(&(samples.p))
first, for capn_get64()
to work, but I don't understand why. I guess capn_get*()
does not call it automatically, because it would be redundant if you call it a large number of times. Is that assumption correct?
Hello!
I want to perform element-wise reading on a
capn_list64
. I have a problem withcapn_get64()
, which always returns a zero value, whereascapn_getv64()
works fine. What could be the reason?I test as follows:
In the above example,
sample_get = 0
, butsample_getv = 4625979026566705573
, which is the number that I stored in the first place.Thanks in advance!