This sample encodes and then decodes the string "Hello World", and prints the decoded string. It shows how to instantiate zcbor state variables, and how to use them with the encoding and decoding API. This sample does not use the zcbor script tool.
mkdir build
cmake . -Bbuild
make -C build
build/app
Decoded string: 'Hello World'