System.IO.Compression.FastEncoderWindow.InsertStrings C# (CSharp) Method

InsertStrings() private method

private InsertStrings ( uint &hash, int matchLen ) : void
hash uint
matchLen int
return void
        private void InsertStrings(ref uint hash, int matchLen) {
            if ((this.bufEnd - this.bufPos) <= matchLen) {
                this.bufPos += matchLen - 1;
            }
            else {
                while (--matchLen > 0) {
                    this.InsertString(ref hash);
                    this.bufPos++;
                }
            }
        }