From 2d09d9696af77eb89b4ef40bab1f1b46862d03a8 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sat, 23 Sep 2023 00:26:52 -0400 Subject: [PATCH] Add source position and length to BitStream --- BitStream.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BitStream.cs b/BitStream.cs index eb30610..d6fa53c 100644 --- a/BitStream.cs +++ b/BitStream.cs @@ -9,6 +9,12 @@ namespace SabreTools.Compression /// public class BitStream { + /// + public long Position => _source.Position; + + /// + public long Length => _source.Length; + /// /// Original stream source ///