// UintptrsUint16sE creates a new slice with the results of calling the provided function on every element in the given array.
// Returns an error if one of the function calls fails.
UintptrsUint16sE creates a new slice with the results of calling the provided function on every element in the given array.
Returns an error if one of the function calls fails.
// UintptrsUint16sE creates a new slice with the results of calling the provided function on every element in the given array . // Returns an error if one of the function calls fails .
func UintptrsUint16sE(s []uintptr, f func(s uintptr) (uint16, error)) (uint16s.Uint16s, error) {
	m := uint16s.Uint16s(make([]uint16, len(s)))
	var err error
	for i, v := range s {
		m[i], err = f(v)
		if err != nil {
			return nil, err
		}
	}
	return m, nil
}
func UintptrsUint16sE ( s [ ] uintptr , f func ( s uintptr ) ( uint16 , error ) ) ( uint16s . Uint16s , error ) { m := uint16s . Uint16s ( make ( [ ] uint16 , len ( s ) ) ) var err error for i , v := range s { m [ i ] , err = f ( v ) if err != nil { return nil , err } } return m , nil }
UintptrsUint16sE creates a new slice with the results of calling the provided function on every element in the given array.
UintptrsUint16sE creates a new slice with the results of calling the provided function on every element in the given array .