codegen: inline view field decoding (#312)