api: partial decode
0.2.0