Reader wrapper that tracks how many bytes of a pack have been consumed while keeping a running SHA-1/SHA-256 hash for trailer verification.
Wrapper