On 31/10/2019 18:09, Brian Candler wrote:
(2) Is getState("foo") distinct from getCounter("foo"), or do they share the same namespace?

I've tested it, and they are: counters are just 64-bit values, big-endian.

    get_counter("foo") => 460

    get_state("foo") => b'\x00\x00\x00\x00\x00\x00\x01\xcc'

Also, Java API has "deleteState" but Python API has "del_counter" so they're clearly the same thing.

Reply via email to