Sep 1, 2019 02:57 PM
(This post was last modified: Sep 1, 2019 02:57 PM by hdev0.)
Hi,
I'm trying to implement a function that calculates the hamming distance between two bytestrings. For that i need to iterate through the bits of each of them. How can i do that? I can only unpack the bytestring into word8s. Is there a function that unpacks the word8s into the corresponding binary representation?
I'm trying to implement a function that calculates the hamming distance between two bytestrings. For that i need to iterate through the bits of each of them. How can i do that? I can only unpack the bytestring into word8s. Is there a function that unpacks the word8s into the corresponding binary representation?
