Header returns the Header associated with this packet.
()
| 88 | |
| 89 | // Header returns the Header associated with this packet. |
| 90 | func (p *FullIntraRequest) Header() Header { |
| 91 | return Header{ |
| 92 | Count: FormatFIR, |
| 93 | Type: TypePayloadSpecificFeedback, |
| 94 | Length: uint16((p.MarshalSize() / 4) - 1), //nolint:gosec // G115 |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | // MarshalSize returns the size of the packet once marshaled. |
| 99 | func (p *FullIntraRequest) MarshalSize() int { |