示例#1
0
 public override void Reset()
 {
     _fallbackBytes?.Clear();
     _fbkCnt = 0;
     _byteCnt.Reset();
     _lastCharUnknown  = '\0';
     _lastIndexUnknown = -1;
 }
示例#2
0
 public override void Reset()
 {
     _escapes?.Clear();
     _escCnt = 0;
     _byteCnt.Reset();
 }
示例#3
0
        public void Reset_ReturnsZero()
        {
            var generator = new ByteCounter(5);

            generator.Reset().ShouldEqual((byte)0);
        }