func (ccs TLSchangeCipherSpec) String() string {
	switch ccs {
	default:
		return "Unknown"
	case TLSChangecipherspecMessage:
		return "Change Cipher Spec Message"
	}
}
String shows the message value nicely formatted
package layers
import (
	"errors"
	"github.com/google/gopacket"
)
type TLSchangeCipherSpec uint8
const (
	TLSChangecipherspecMessage TLSchangeCipherSpec = 1
	TLSChangecipherspecUnknown TLSchangeCipherSpec = 255
)
type TLSChangeCipherSpecRecord struct {
	TLSRecordHeader
	Message TLSchangeCipherSpec
}
func (t *TLSChangeCipherSpecRecord) decodeFromBytes(h TLSRecordHeader, data []byte, df gopacket.DecodeFeedback) error {
	t.ContentType = h.ContentType
	t.Version = h.Version
	t.Length = h.Length
	if len(data) != 1 {
		df.SetTruncated()
		return errors.New("TLS Change Cipher Spec record incorrect length")
	}
	t.Message = TLSchangeCipherSpec(data[0])
	if t.Message != TLSChangecipherspecMessage {
		t.Message = TLSChangecipherspecUnknown
	}
	return nil
}