code: func (kf *KunstructuredFactoryImpl) SliceFromBytes(
  	in []byte) ([]ifc.Kunstructured, error) {
  	decoder := yaml.NewYAMLOrJSONDecoder(bytes.NewReader(in), 1024)
  	var result []ifc.Kunstructured
  	var err error
  	for err == nil || isEmptyYamlError(err) {
  		var out unstructured.Unstructured
  		err = decoder.Decode(&out)
  		if err == nil {
  			if len(out.Object) == 0 {
  				continue
  			}
  			err = kf.validate(out)
  			if err != nil {
  				return nil, err
  			}
  			result = append(result, &UnstructAdapter{Unstructured: out})
  		}
  	}
  	if err != io.EOF {
  		return nil, err
  	}
  	return result, nil
  }
docs: // SliceFromBytes returns a slice of Kunstructured.