Quantcast
Viewing all articles
Browse latest Browse all 1087

convert string to list of bit

I'm looking for a way to read a file containing (HEX) numbers.

For each file I read, the width of the data is different (can be more than 32/64/128 bits).

So I'm looking for a way to convert the string I read from the file to a list of bit variable.

In order to make it easy, let say I know the size of the bits list (the data width) in advance.

Any ideas?

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 1087

Trending Articles