mirror of
https://github.com/SabreTools/SabreTools.Compression.git
synced 2026-09-23 07:14:50 +00:00
Add source position and length to BitStream
This commit is contained in:
@@ -9,6 +9,12 @@ namespace SabreTools.Compression
|
||||
/// </summary>
|
||||
public class BitStream
|
||||
{
|
||||
/// <inheritdoc cref="Stream.Position"/>
|
||||
public long Position => _source.Position;
|
||||
|
||||
/// <inheritdoc cref="Stream.Length"/>
|
||||
public long Length => _source.Length;
|
||||
|
||||
/// <summary>
|
||||
/// Original stream source
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user