예제 #1
0
 public StreamCounter(Stream stream, CounterDirection direction, long totalLength, bool restrictRead)
 {
     baseStream = stream;
     mDirection = direction;
     mTotalLength = totalLength;
     mRestrictRead = restrictRead;
 }
예제 #2
0
 public StreamCounter(Stream stream, CounterDirection direction, long totalLength)
     : this(stream, direction, totalLength, false)
 {
 }