func (l *DecodingLayerParser) SetTruncated() {
	l.Truncated = true
}
SetTruncated is used by DecodingLayers to set the Truncated boolean in the
DecodingLayerParser.  Users should simply read Truncated after calling
DecodeLayers.
package gopacket
import (
	"fmt"
)
type DecodingLayer interface {
	DecodeFromBytes(data []byte, df DecodeFeedback) error
	CanDecode() LayerClass
	NextLayerType() LayerType
	LayerPayload() []byte
}
type DecodingLayerParser struct {
	DecodingLayerParserOptions
	first    LayerType
	decoders map[LayerType]DecodingLayer
	df       DecodeFeedback
	Truncated bool
}
func (l *DecodingLayerParser) AddDecodingLayer(d DecodingLayer) {
	for _, typ := range d.CanDecode().LayerTypes() {
		l.decoders[typ] = d
	}
}