创建一个Bitmap: setbit test 1 0 # test 是创建的名字
设置: SETBIT key offset value
例子: setbit python_bulong 1 0
查询: GETBIT key offset
查询长度: BITCOUNT key
本机windows:0>setbit cyl 1 1
"0"
本机windows:0>setbit cyl 2 1
"0"
本机windows:0>setbit cyl 3 0
"0"
本机windows:0>setbit cyl 4 1
"0"
本机windows:0>setbit cyl 10 1
"0"
本机windows:0>bitcount cyl
"4"
本机windows:0>getbit cyl 10
"1"
本机windows:0>getbit cyl 3
"0"
公司华为云:0>getbit article:listdelrepeat 100230
"1"
公司华为云:0>getbit article:listdelrepeat 103453252
"1"
公司华为云:0>getbit article:listdelrepeat 100233233
"1"
公司华为云:0>bitcount article:listdelrepeat
"2111244207"