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:
parent
bdf5887f64
commit
ec1977017d
1 changed files with 1 additions and 0 deletions
1
cksum.go
1
cksum.go
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue