internal DefiniteLengthInputStream(
Stream inStream,
int length)
: base(inStream, length)
{
if (length < 0)
throw new ArgumentException("negative lengths not allowed", "length");
this._originalLength = length;
this._remaining = length;
if (length == 0)
{
SetParentEofDetect(true);
}
}