How to covert a []byte object to an image and store it as a jpeg image on disk How to covert a []byte object to an image and store it as a jpeg image on disk go go

How to covert a []byte object to an image and store it as a jpeg image on disk