Calculates a rolling Rabin Fingerprint.
Initializes this RabinHash with the given polynomial.
Base type for the calculated digest.
Commit a Writer.
Return current digest, then reset.
Return a fast writer object. Must be committed at the end using commit.
Slide in all bytes. Note that using more bytes than windowSize is ineffectual, and only the last windowSize bytes affect the final digest.
Keep sliding in bytes until digest & mask == 0. Return number of bytes written, which will always be less than bytes.length if mask matched.
Slide in one byte (and slide out the corresponding byte from the sliding window).
Reset internal state.
Return current digest.
Type for fast writing of successive bytes. Contains only scalar values, so that optimizing compilers may break it up and place the fields in registers.
Size of the sliding window.