func (p *Fragment) SerializeTo(b SerializeBuffer, opts SerializeOptions) error {
	bytes, err := b.PrependBytes(len(*p))
	if err != nil {
		return err
	}
	copy(bytes, *p)
	return nil
}
SerializeTo writes the serialized form of this layer into the
SerializationBuffer, implementing gopacket.SerializableLayer.
See the docs for gopacket.SerializableLayer for more info.
package gopacket
import (
	"fmt"
)
type Layer interface {
	LayerType() LayerType
	LayerContents() []byte
	LayerPayload() []byte
}
type Payload []byte
func (p Payload) LayerType() LayerType { return LayerTypePayload }
func (p Payload) LayerContents() []byte { return []byte(p) }
func (p Payload) LayerPayload() []byte { return nil }
func (p Payload) Payload() []byte { return []byte(p) }
func (p Payload) String() string { return fmt.Sprintf("%d byte(s)", len(p)) }
func (p Payload) GoString() string { return LongBytesGoString([]byte(p)) }
func (p Payload) CanDecode() LayerClass { return LayerTypePayload }
func (p Payload) NextLayerType() LayerType { return LayerTypeZero }
func (p *Payload) DecodeFromBytes(data []byte, df DecodeFeedback) error {
	*p = Payload(data)
	return nil
}
func (p Payload) SerializeTo(b SerializeBuffer, opts SerializeOptions) error {
	bytes, err := b.PrependBytes(len(p))
	if err != nil {
		return err
	}
	copy(bytes, p)
	return nil
}
func decodePayload(data []byte, p PacketBuilder) error {
	payload := &Payload{}
	if err := payload.DecodeFromBytes(data, p); err != nil {
		return nil
	}
	p.AddLayer(payload)
	p.SetApplicationLayer(payload)
	return nil
}
type Fragment []byte
func (p *Fragment) LayerType() LayerType { return LayerTypeFragment }
func (p *Fragment) LayerContents() []byte { return []byte(*p) }
func (p *Fragment) LayerPayload() []byte { return nil }
func (p *Fragment) Payload() []byte { return []byte(*p) }
func (p *Fragment) String() string { return fmt.Sprintf("%d byte(s)", len(*p)) }
func (p *Fragment) CanDecode() LayerClass { return LayerTypeFragment }
func (p *Fragment) NextLayerType() LayerType { return LayerTypeZero }
func (p *Fragment) DecodeFromBytes(data []byte, df DecodeFeedback) error {
	*p = Fragment(data)
	return nil
}