mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
feat: Exposing additional stream features in IcdStream
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user