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

Method String

compound_packet.go:154–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152}
153
154func (c CompoundPacket) String() string {
155 out := "CompoundPacket\n"
156 for _, p := range c {
157 stringer, canString := p.(fmt.Stringer)
158 if canString {
159 out += stringer.String()
160 } else {
161 out += stringify(p)
162 }
163 }
164 out = strings.TrimSuffix(strings.ReplaceAll(out, "\n", "\n\t"), "\t")
165
166 return out
167}

Callers

nothing calls this directly

Calls 1

stringifyFunction · 0.85

Tested by

no test coverage detected