I have an image data, which primarily looks like:
array('B', [255,216,255...])
It is of type array.array('B')
Since this data is to be sent over a communication channel, It is necessary to convert this data to type: bytearray.
I converted the data to bytearray:
data1 = bytearray(CompressedImage.data)
However, I now need to get the original array.array('B') form of the data.
So far, I found byte() and decode() function,s but I am still unable to deserialize the original data form.
