Back to godoc.org
Package bsdsum implements the BSD checksum algorithm BSD checksum is also known as UNIX sum
const Size = 2
The size of a BSD checksum value
Bsdsum returns the BSD checksum of the given byte array
data := byte("Go is expressive, concise, clean, and efficient.") fmt.Printf("sum: %d", Bsdsum(data))
Documentation was rendered with GOOS=linux and GOARCH=amd64.