How to show byte[] image in database with Fresco?

I am doing a camera project.The camera returns a byte array data.I saved it into a database.Now I want to use Fresco to show the byte[] image.How?