encode / decode example build for test