feat: Exposing additional stream features in IcdStream

This commit is contained in:
Chris Cameron
2018-06-06 10:00:46 -04:00
parent c306dd6eb9
commit 38dd85d79d

View File

@@ -13,6 +13,10 @@ namespace ICD.Common.Utils.IO
public Stream WrappedStream { get { return m_Stream; } }
public long Length { get { return m_Stream.Length; } }
public long Position { get { return m_Stream.Position; } }
/// <summary>
/// Constructor.
/// </summary>
@@ -29,5 +33,10 @@ namespace ICD.Common.Utils.IO
{
m_Stream.Dispose();
}
public void Seek(long offset, SeekOrigin end)
{
m_Stream.Seek(offset, end);
}
}
}