Yatsuhashi is a Japanese confectionary.
It is often given as an お土産/omiyage from Kyoto.
Yatsuhashi is a sheet made from glutinous rice flour.
Served raw it is soft and chewy and often with fillings like bean paste, chesnuts or cream.
If the sheet is baked it has a hard, crunchy texture.
It has only been sold with the fillings pre-made in the last 50 or so years.
You can even get them in kitkat form:
If you’re in Kyoto you can visit Izutsu Yatsuhashi Honkan, one of thste longest standing yatsuhashi (since 1805).