A question
Closed this issue · 5 comments
IrvingYan commented
A question
IrvingYan commented
What does
long firstFiveBitsMask = 0xf800000000000000l;
mean?
kungfoo commented
It is a mask that selects the first five bits when used in a bitwise
operation.
…On Tue, Dec 18, 2018, 03:52 闫东 ***@***.*** wrote:
What does
long firstFiveBitsMask = 0xf800000000000000l;
mean?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACgKMkuebASln2Aa3WOX0ucEdNmYYkbks5u6FhegaJpZM4ZXgLY>
.
kungfoo commented
You can see, five bits of the hash make up one character in the base32
encoding.
On Tue, Dec 18, 2018, 12:27 Silvio Heuberger <silvio.heuberger@gmail.com
wrote:
… It is a mask that selects the first five bits when used in a bitwise
operation.
On Tue, Dec 18, 2018, 03:52 闫东 ***@***.*** wrote:
> What does
> long firstFiveBitsMask = 0xf800000000000000l;
> mean?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#35 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AACgKMkuebASln2Aa3WOX0ucEdNmYYkbks5u6FhegaJpZM4ZXgLY>
> .
>
kungfoo commented
I think that should answer your question. Please reopen if it's still unclear.
IrvingYan commented
thanks so much :)