Skip to content

Commit 2b2154d

Browse files
authored
Pad conditions with space in the helper function of Endianness class
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 3b08e83 commit 2b2154d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

HashifyNet/Core/Utilities/Endianness.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ private static byte SafeRead(this Span<byte> buf, int index)
4141
if (buf.IsEmpty) return 0;
4242
if (index < 0) return 0;
4343
if (index >= buf.Length) return 0;
44+
4445
return buf[index];
4546
}
4647

0 commit comments

Comments
 (0)