Reuse a hex decoder for all params