// Int16sBytes creates a new slice with the results of calling the provided function on every element in the given array.
Int16sBytes creates a new slice with the results of calling the provided function on every element in the given array.
// Int16sBytes creates a new slice with the results of calling the provided function on every element in the given array .
func Int16sBytes(s []int16, f func(s int16) byte) bytes.Bytes {
	m := bytes.Bytes(make([]byte, len(s)))
	for i, v := range s {
		m[i] = f(v)
	}
	return m
}
func Int16sBytes ( s [ ] int16 , f func ( s int16 ) byte ) bytes . Bytes { m := bytes . Bytes ( make ( [ ] byte , len ( s ) ) ) for i , v := range s { m [ i ] = f ( v ) } return m }
Int16sBytes creates a new slice with the results of calling the provided function on every element in the given array.
Int16sBytes creates a new slice with the results of calling the provided function on every element in the given array .