func (i *IE) CreateBAR() ([]*IE, error) {
	switch i.Type {
	case CreateBAR:
		return ParseMultiIEs(i.Payload)
	default:
		return nil, &InvalidTypeError{Type: i.Type}
	}
}
CreateBAR returns the IEs above CreateBAR if the type of IE matches.
package ie
func NewCreateBAR(ies ...*IE) *IE {
	return newGroupedIE(CreateBAR, 0, ies...)
}