Esempio n. 1
0
        public virtual void Reset()
        {
            if (mBuf != null)
            {
                mBuf.SetLength(0);
                return;
            }

            foreach (IDigest hash in mHashes.Values)
            {
                hash.Reset();
            }
        }
Esempio n. 2
0
 public virtual void Reset()
 {
     if (mBuf != null)
     {
         mBuf.SetLength(0L);
     }
     else
     {
         foreach (IDigest value in mHashes.Values)
         {
             value.Reset();
         }
     }
 }