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