mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +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 Stream WrappedStream { get { return m_Stream; } }
|
||||||
|
|
||||||
|
public long Length { get { return m_Stream.Length; } }
|
||||||
|
|
||||||
|
public long Position { get { return m_Stream.Position; } }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructor.
|
/// Constructor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -29,5 +33,10 @@ namespace ICD.Common.Utils.IO
|
||||||
{
|
{
|
||||||
m_Stream.Dispose();
|
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