codec: fix binc decode len function.

Fixes #36