You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// A stream that supports writing data smaller than a single byte. This stream also has a built-in compression algorithm that can (optionally) be used to write compressed data.
@@ -34,6 +34,7 @@ public BitStream(byte[] target)
34
34
{
35
35
this.target=target;
36
36
Resizable=false;
37
+
BitLength=(ulong)(target.Length<<3);
37
38
}
38
39
39
40
/// <summary>
@@ -76,7 +77,7 @@ public long Capacity {
76
77
/// <summary>
77
78
/// The index that will be written to when any call to write data is made to this stream.
0 commit comments