allow uint16array's as well