// ParseMultiIEs parses multiple (unspecified number of) IEs to []*IE at a time.
ParseMultiIEs parses multiple (unspecified number of) IEs to []*IE at a time.
// ParseMultiIEs parses multiple ( unspecified number of ) IEs to [] * IE at a time .
func ParseMultiIEs(b []byte) ([]*IE, error) {
	var ies []*IE
	for {
		if len(b) == 0 {
			break
		}
		i, err := ParseIE(b)
		if err != nil {
			return nil, err
		}
		ies = append(ies, i)
		b = b[i.MarshalLen():]
		continue
	}
	return ies, nil
}
func ParseMultiIEs ( b [ ] byte ) ( [ ] * IE , error ) { var ies [ ] * IE for { if len ( b ) == 0 { break } i , err := ParseIE ( b ) if err != nil { return nil , err } ies = append ( ies , i ) b = b [ i . MarshalLen ( ) : ] continue } return ies , nil }
ParseMultiIEs parses multiple (unspecified number of) IEs to []*IE at a time.
ParseMultiIEs parses multiple ( unspecified number of ) IEs to [] * IE at a time .