Login
Remember
Register
Ask a Question
How to Reverse a bitstring.
0
votes
asked
Jun 10, 2023
in
Machine Learning
by
sharadyadav1986
How to Reverse a bitstring.
reverseabitstring
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 10, 2023
by
sharadyadav1986
If you are using python3 :
data = b'\xAD\xDE\xDE\xC0'
my_data = bytearray(data)
my_data.reverse()
...