Convert string to byte and back again

I was looking through the code and as the data string is stored only in frame_data[0]

frame_data[0] is a single element ( 1 byte long ),a string is a 'string' of elements.