v.io/syncbase/x/ref/services/syncbase/localblobstore/crc64window: Introduce means for computing CRCs over sliding windows.
Introduce package crc64window, which computes CRCs over fixed-sized sliding windows of bytes.
The intent is to use this to break blobs into chunks at content-dependent boundaries.
The CRCs generated are the same as those currently generated by Go's
hash/crc64. Unfortunately, hash/crc64 doesn't actually specify the
representation and conditioning it uses, but I assume it's unlikely to change.
Change-Id: Ia9a541b7b5642db5dddcb943453e94f89ed454f6
2 files changed
tree: 040860fcb2a8758766776a3bae27b6b805f914d6
- services/