1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
package sctp
// errorCauseInvalidMandatoryParameter represents an SCTP error cause
type errorCauseInvalidMandatoryParameter struct {
errorCauseHeader
}
func (e *errorCauseInvalidMandatoryParameter) marshal() ([]byte, error) {
return e.errorCauseHeader.marshal()
}
func (e *errorCauseInvalidMandatoryParameter) unmarshal(raw []byte) error {
return e.errorCauseHeader.unmarshal(raw)
}
// String makes errorCauseInvalidMandatoryParameter printable
func (e *errorCauseInvalidMandatoryParameter) String() string {
return e.errorCauseHeader.String()
}
|