func UnmarshalPublic(raw []byte) (*Public, error) {
	pub, err := tpm2.DecodePublic(raw)
	if err != nil {
		return nil, err
	}
	return &pub, nil
}
// UnmarshalPublic unmarshals the public data.
UnmarshalPublic unmarshals the public data.
// UnmarshalPublic unmarshals the public data .
func UnmarshalPublic(raw []byte) (*Public, error) {
	pub, err := tpm2.DecodePublic(raw)
	if err != nil {
		return nil, err
	}
	return &pub, nil
}
func UnmarshalPublic ( raw [ ] byte ) ( * Public , error ) { pub , err := tpm2 . DecodePublic ( raw ) if err != nil { return nil , err } return & pub , nil }
UnmarshalPublic unmarshals the public data.
UnmarshalPublic unmarshals the public data .