We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a50cb5 commit 24e0ad6Copy full SHA for 24e0ad6
src/DotNext.IO/Buffers/Binary/SevenBitEncodedInt32Reader.cs
@@ -4,10 +4,10 @@
4
namespace DotNext.Buffers.Binary;
5
6
[StructLayout(LayoutKind.Auto)]
7
-internal struct SevenBitEncodedInt32Reader : IBufferReader, ISupplier<int>
+internal struct SevenBitEncodedInt32Reader() : IBufferReader, ISupplier<int>
8
{
9
private SevenBitEncodedInteger<uint> decoder;
10
- private bool incompleted;
+ private bool incompleted = true;
11
12
readonly int IBufferReader.RemainingBytes => Unsafe.BitCast<bool, byte>(incompleted);
13
0 commit comments