MCPcopy
hub / github.com/aceld/zinx / CheckCRC

Function CheckCRC

zdecoder/crc.go:89–91  ·  view source on GitHub ↗
(src []byte, crc []byte)

Source from the content-addressed store, hash-verified

87}
88
89func CheckCRC(src []byte, crc []byte) bool {
90 return IsComplete(GetCrC(src), crc)
91}

Callers 1

decodeMethod · 0.85

Calls 2

IsCompleteFunction · 0.85
GetCrCFunction · 0.85

Tested by

no test coverage detected