Skip to content

Commit

Permalink
Cleanup whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jbevain authored Aug 22, 2024
1 parent f697188 commit dd09034
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mono.Cecil.PE/ByteBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public void WriteCompressedInt32 (int value)
// 0xffffffff for negative value
// 0x00000000 for non-negative

int signMask = value >> 31;
int signMask = value >> 31;

if ((value & ~b6) == (signMask & ~b6)) {
int n = ((value & b6) << 1) | (signMask & 1);
Expand Down Expand Up @@ -311,6 +311,7 @@ static uint ReverseEndianness (uint value)
// extracted from .net BCL
static uint RotateRight (uint value, int offset)
=> (value >> offset) | (value << (32 - offset));

static uint RotateLeft (uint value, int offset)
=> (value << offset) | (value >> (32 - offset));

Expand Down

0 comments on commit dd09034

Please sign in to comment.