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 4ab3b16 commit 6fc49b3Copy full SHA for 6fc49b3
src/Base58Encoding/CountLeading.Base58.cs
@@ -109,8 +109,6 @@ internal static int CountLeadingZerosScalar(ReadOnlySpan<byte> data)
109
[MethodImpl(MethodImplOptions.AggressiveInlining)]
110
internal static int CountLeadingCharacters(ReadOnlySpan<char> text, char target)
111
{
112
- if (text.IsEmpty) return 0;
113
-
114
int count = 0;
115
ref char searchSpace = ref MemoryMarshal.GetReference(text);
116
0 commit comments