Keep sliding in bytes until digest & mask == 0. Return number of bytes written, which will always be less than bytes.length if mask matched.
See Implementation
Keep sliding in bytes until digest & mask == 0. Return number of bytes written, which will always be less than bytes.length if mask matched.