mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 23:26:58 +08:00

Disabled gocylco for now, need to use gometalinter to disable conditionally. There are also a lot more linters we could use, but they cause too many issues to start today.
17 lines
330 B
Go
17 lines
330 B
Go
package sctp
|
|
|
|
type paramForwardTSNSupported struct {
|
|
paramHeader
|
|
}
|
|
|
|
func (f *paramForwardTSNSupported) marshal() ([]byte, error) {
|
|
f.typ = forwardTSNSupp
|
|
f.raw = []byte{}
|
|
return f.paramHeader.marshal()
|
|
}
|
|
|
|
func (f *paramForwardTSNSupported) unmarshal(raw []byte) (param, error) {
|
|
f.paramHeader.unmarshal(raw)
|
|
return f, nil
|
|
}
|