mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
Fi CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString'
This commit is contained in:
parent
2b654e11a8
commit
8633e29615
1 changed files with 1 additions and 1 deletions
|
|
@ -28,5 +28,5 @@ public static class Hash
|
||||||
return ByteArrayToString(hash);
|
return ByteArrayToString(hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string ByteArrayToString(byte[] ba) => BitConverter.ToString(ba).Replace("-", string.Empty);
|
private static string ByteArrayToString(byte[] ba) => Convert.ToHexString(ba);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue