First I threw away the outside and cooked the inside then I ate the outside and threw away the inside. What did I eat?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?