/// <summary>
 /// Reset the values of this running length word so that it has the same values
 /// as the other running length word.
 /// </summary>
 /// <param name="rlw">the other running length word </param>
 public void Reset(RunningLengthWord rlw)
 {
     Reset(rlw.ArrayOfWords[rlw.Position]);
 }
        public override object Clone()
        {
            var clone = new RunningLengthWord(ArrayOfWords, Position);

            return(clone);
        }
 /// <summary>
 /// Instantiates a new buffered running length word
 /// </summary>
 /// <param name="rlw">the rlw</param>
 public BufferedRunningLengthWord(RunningLengthWord rlw)
     : this(rlw.ArrayOfWords[rlw.Position])
 {
 }