Green’s Dictionary of Slang

bullets n.

[the shape]

1. (US) beans.

[US]Dly Missoulian (MT) 18 May 4/3: A ‘bunch of bullets’ means a plate of beans.
[US]G.D. Chase ‘Navy Sl.’ in DN IV: ii 150: commissary bullets, n. Beans.
[US]Danville (VA) Bee 27 May 3/1: The U.S. Navy has a language or a ‘slanguage’ all its own. For instance [...] beans are ‘bullets’.
[US]Irwin Amer. Tramp and Und. Sl. 40: bullets.–Beans, often served so poorly cooked they are as hard and as indigestible as their namesake.
[US]P. Kendall Dict. Service Sl. n.p.: pass the bullets . . . beans.
[US]Wentworth & Flexner DAS.
[US]Ragen & Finston World’s Toughest Prison 792: bullets – Beans.

2. peas.

[UK]I. & P. Opie Lore and Lang. of Schoolchildren (1977) 183: Peas are ‘bullets’ or ‘cannon balls’.
[US]Wentworth & Flexner DAS.