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: bcea0da073e343fcae9b3e99aa595600a83af197
  1. v23/
  2. x/
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. VERSION