How is nutrition extracted from silica encased diatoms by the creatures that eat them?

Just curious. Diatomsare encased in what amount to tough glass boxes. How do the creatures that eat them get nutrition from them?

The boxes are more like a porous lattice or framework. If they were sealed tight, the organisms would not be able to live inside them.