Commit c176a64 1 parent 603e1cf commit c176a64 Copy full SHA for c176a64
File tree 1 file changed +3
-3
lines changed
src/DotNext.IO/Buffers/Binary
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ namespace DotNext.Buffers.Binary;
7
7
internal struct SevenBitEncodedInt32Reader : IBufferReader , ISupplier < int >
8
8
{
9
9
private SevenBitEncodedInteger < uint > decoder ;
10
- private bool completed ;
10
+ private bool incompleted ;
11
11
12
- readonly int IBufferReader . RemainingBytes => Unsafe . BitCast < bool , byte > ( ! completed ) ;
12
+ readonly int IBufferReader . RemainingBytes => Unsafe . BitCast < bool , byte > ( incompleted ) ;
13
13
14
14
void IReadOnlySpanConsumer < byte > . Invoke ( ReadOnlySpan < byte > source )
15
- => completed = decoder . Append ( MemoryMarshal . GetReference ( source ) ) is false ;
15
+ => incompleted = decoder . Append ( MemoryMarshal . GetReference ( source ) ) ;
16
16
17
17
readonly int ISupplier < int > . Invoke ( ) => ( int ) decoder . Value ;
18
18
}
You can’t perform that action at this time.
0 commit comments