Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitcount 返回值 byte 位数不够 #56

Closed
zut opened this issue May 21, 2020 · 1 comment
Closed

Bitcount 返回值 byte 位数不够 #56

zut opened this issue May 21, 2020 · 1 comment

Comments

@zut
Copy link
Contributor

zut commented May 21, 2020

Q1

根据 文档 bitcount 的范围值是 [0, 1073741824]

应该是需要 uint32/64类型

Q2

setbit 方法的 bit 需要时int类型,否者出错

func (s *Client) Setbit(key string, offset int, bit int)

@seefan
Copy link
Owner

seefan commented May 21, 2020

已修正

@seefan seefan closed this as completed May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants