From the redux I am getting data like below
{type: 'Buffer', data: Array(6995)}
data
:
(6995) [255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 255, 219, 0, 132, 0, 9, 6, 7, 19, 19, 18, 21, 19, 19, 19, 22, 21, 21, 23, 23, 23, 22, 24, 21, 22, 23, 23, 21, 24, 23, 24, 24, 21, 26, 24, 23, 23, 23, 23, 24, 29, 40, 32, 24, 26, 37, 30, 23, 24, 33, 49, 33, 37, 41, 43, 46, 46, 46, 24, 31, 51, 56, 51, 45, 55, 40, 45, 46, 43, 1, 10, 10, 10, 14, 13, 14, 26, 16, 16, 23, …]
type
:
"Buffer"
[[Prototype]]
:
Object
How can I decode this data that pass it in src for img tag?