MCPcopy Create free account
hub / github.com/pion/rtcp / setupBlockHeader

Method setupBlockHeader

extended_report.go:368–372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

366}
367
368func (b *DLRRReportBlock) setupBlockHeader() {
369 b.XRHeader.BlockType = DLRRReportBlockType
370 b.XRHeader.TypeSpecific = 0
371 b.XRHeader.BlockLength = uint16(wireSize(b)/4 - 1) //nolint:gosec // G115
372}
373
374func (b *DLRRReportBlock) unpackBlockHeader() {
375}

Callers

nothing calls this directly

Calls 1

wireSizeFunction · 0.85

Tested by

no test coverage detected