func deserializeFingerprint(fpSum []byte) (resource.Fingerprint, error) {
	if len(fpSum) == 0 {
		return resource.Fingerprint{}, nil
	}
	fp, err := resource.NewFingerprint(fpSum)
	if err != nil {
		return fp, errgo.Mask(err, errgo.Any)
	}
	return fp, nil
}
// deserializeFingerprint converts the serialized fingerprint back into
// a Fingerprint. "zero" values are treated appropriately.
deserializeFingerprint converts the serialized fingerprint back into
a Fingerprint. "zero" values are treated appropriately.
// deserializeFingerprint converts the serialized fingerprint back into // a Fingerprint . " zero " values are treated appropriately .
func deserializeFingerprint(fpSum []byte) (resource.Fingerprint, error) {
	if len(fpSum) == 0 {
		return resource.Fingerprint{}, nil
	}
	fp, err := resource.NewFingerprint(fpSum)
	if err != nil {
		return fp, errgo.Mask(err, errgo.Any)
	}
	return fp, nil
}
func deserializeFingerprint ( fpSum [ ] byte ) ( resource . Fingerprint , error ) { if len ( fpSum ) == 0 { return resource . Fingerprint { } , nil } fp , err := resource . NewFingerprint ( fpSum ) if err != nil { return fp , errgo . Mask ( err , errgo . Any ) } return fp , nil }
deserializeFingerprint converts the serialized fingerprint back into
a Fingerprint.
deserializeFingerprint converts the serialized fingerprint back into a Fingerprint .