INNER CODE UNIT · Go

FromBytes

opencontainers/image-spec · identity/helpers.go:33

func FromBytes(p []byte) digest.Digest {
	return digest.Canonical.FromBytes(p)
}

// FromString digests the input and returns a Digest.
func FromString(s string) digest.Digest {
	return digest.Canonical.FromString(s)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…