// BytesInt8sF creates a new slice with the results of calling the provided function on every element in the given array.
// If the given function returns an error, the element will be ignored.
BytesInt8sF creates a new slice with the results of calling the provided function on every element in the given array.
If the given function returns an error, the element will be ignored.
// BytesInt8sF creates a new slice with the results of calling the provided function on every element in the given array . // If the given function returns an error the element will be ignored .
func BytesInt8sF(s []byte, f func(s byte) (int8, error)) int8s.Int8s {
	m := int8s.Int8s(make([]int8, 0, len(s)))
	var (
		x   int8
		err error
	)
	for _, v := range s {
		x, err = f(v)
		if err != nil {
			continue
		}
		m = append(m, x)
	}
	return m
}
func BytesInt8sF ( s [ ] byte , f func ( s byte ) ( int8 , error ) ) int8s . Int8s { m := int8s . Int8s ( make ( [ ] int8 , 0 , len ( s ) ) ) var ( x int8 err error ) for _ , v := range s { x , err = f ( v ) if err != nil { continue } m = append ( m , x ) } return m }
BytesInt8sF creates a new slice with the results of calling the provided function on every element in the given array.
BytesInt8sF creates a new slice with the results of calling the provided function on every element in the given array .