I'm trying to implement a Reed-Solomon encoder.
I start with a list of bytearray and then I have to convert all the elements of the list into str.
So now I have this list: ["bytearray(b'XXXXXXX')"]
But I have to retrieve the value from the list: "bytearray(b'XXXXXXX')" as a bytearray: bytearray(b'XXXXXXX')...
How can I perform this conversion?
 
     
    