parse bytes sent to ftdi, calculating expected size of result

(and give fatal error if they don't match)