AddDecodingLayer adds a decoding layer to the parser. This adds support for the decoding layer's CanDecode layers to the parser... should they be encountered, they'll be parsed.
(d DecodingLayer)
| 198 | // the decoding layer's CanDecode layers to the parser... should they be |
| 199 | // encountered, they'll be parsed. |
| 200 | func (l *DecodingLayerParser) AddDecodingLayer(d DecodingLayer) { |
| 201 | l.SetDecodingLayerContainer(l.dlc.Put(d)) |
| 202 | } |
| 203 | |
| 204 | // SetTruncated is used by DecodingLayers to set the Truncated boolean in the |
| 205 | // DecodingLayerParser. Users should simply read Truncated after calling |
nothing calls this directly
no test coverage detected