Imported Upstream version 4.4.2.4

Former-commit-id: 92904c9c5915c37244316e42ba99e7b934ed7ee2
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-07-21 09:40:10 +00:00
parent 589d484eee
commit 0b4a830db1
343 changed files with 9849 additions and 688 deletions

View File

@ -16,6 +16,7 @@ namespace SharpCompress.IO
{
stream.Position = origin.Value;
}
length = bytesToRead;
BytesLeftToRead = bytesToRead;
}
@ -27,6 +28,8 @@ namespace SharpCompress.IO
}
}
private long length;
private long BytesLeftToRead { get; set; }
public Stream Stream { get; private set; }
@ -53,12 +56,12 @@ namespace SharpCompress.IO
public override long Length
{
get { throw new System.NotImplementedException(); }
get { return length; }
}
public override long Position
{
get { throw new System.NotImplementedException(); }
get { return Length - BytesLeftToRead; }
set { throw new System.NotImplementedException(); }
}