Skip to content

Commit

Permalink
Fixed regression
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Dec 4, 2024
1 parent 3a50cb5 commit 24e0ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DotNext.IO/Buffers/Binary/SevenBitEncodedInt32Reader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
namespace DotNext.Buffers.Binary;

[StructLayout(LayoutKind.Auto)]
internal struct SevenBitEncodedInt32Reader : IBufferReader, ISupplier<int>
internal struct SevenBitEncodedInt32Reader() : IBufferReader, ISupplier<int>
{
private SevenBitEncodedInteger<uint> decoder;
private bool incompleted;
private bool incompleted = true;

readonly int IBufferReader.RemainingBytes => Unsafe.BitCast<bool, byte>(incompleted);

Expand Down

0 comments on commit 24e0ad6

Please sign in to comment.