A superconducting binary encoder with multigate nanowire cryotrons.