A RawExtension represents a raw extension. A raw extension is excluded from message processing and can be used to construct applications such as protocol conformance testing.
| 153 | // A raw extension is excluded from message processing and can be used |
| 154 | // to construct applications such as protocol conformance testing. |
| 155 | type RawExtension struct { |
| 156 | Data []byte // data |
| 157 | } |
| 158 | |
| 159 | // Len implements the Len method of Extension interface. |
| 160 | func (p *RawExtension) Len(proto int) int { |
nothing calls this directly
no outgoing calls
no test coverage detected