mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
feat: Exposing additional stream features in IcdStream
This commit is contained in:
parent
c306dd6eb9
commit
38dd85d79d
1 changed files with 9 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue