1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-11-24 09:05:39 +00:00

cksum: comment

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2016-03-16 16:11:06 -04:00
parent bdf5887f64
commit ec1977017d

View file

@ -7,6 +7,7 @@ import (
const posixPolynomial uint32 = 0x04C11DB7 const posixPolynomial uint32 = 0x04C11DB7
// cksum is an implementation of the POSIX CRC algorithm
func cksum(r io.Reader) (uint32, int, error) { func cksum(r io.Reader) (uint32, int, error) {
in := bufio.NewReader(r) in := bufio.NewReader(r)
count := 0 count := 0