Using the following code I was able to convert characters to bits:
msg= bitarray(endian='little')
msg.frombytes(b'ABCDEFGH')
How to convert it back bits to characters?
NOTE: This pertains to the bitarray package.
Using the following code I was able to convert characters to bits:
msg= bitarray(endian='little')
msg.frombytes(b'ABCDEFGH')
How to convert it back bits to characters?
NOTE: This pertains to the bitarray package.
bitarrayfrom thebitarraylibrary?