Merge "Add outputLength method" into udc-dev