Characteristics of an integrated-optics analog-to-digital convertor