Help understanding structure behaviior in esp now example

reminds me of transmitting java objects over TCP/IP