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

[question] what is the use of the uid_to_num function? #37

Open
osteoblast22 opened this issue Jan 29, 2021 · 0 comments
Open

[question] what is the use of the uid_to_num function? #37

osteoblast22 opened this issue Jan 29, 2021 · 0 comments

Comments

@osteoblast22
Copy link

Hi,
Can someone explain to me the use of this function? why not return the UID directly, what does this function do and why was it used?

def uid_to_num(self, uid):
n = 0
for i in range(0, 5):
n = n * 256 + uid[i]
return n

regards

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

1 participant