What are these triangular structures at the bottom of the medieval Tallinn city wall?

by elverloho

Namely these: http://i.imgur.com/nd8lfUq.jpg

I was walking along the inside of the city walls of Tallinn, saw these, and they made no sense to me. They don't seem to be very useful as storage areas and building such storage areas into the wall itself seems kinda useless. So, um, what are they?

fernandizzel

It was just a way to save on materials and money.

Source: http://www.allempires.com/article/index.php?q=medieval_tallinn