func (a *adler32Hash) Reset() { a.adler = C.adler32(0, (*C.Bytef)(unsafe.Pointer(nil)), 0) }
// io.Writer interface func (a *adler32Hash) Write(p []byte) (n int, err error) { if len(p) > 0 { a.adler = C.adler32(a.adler, (*C.Bytef)(unsafe.Pointer(&p[0])), (C.uInt)(len(p))) } return len(p), nil }