Commit 42595a37 authored by Him188's avatar Him188

Fix `fixToString`

parent f8e0f27f
...@@ -184,7 +184,7 @@ internal operator fun ByteArray.get(range: IntRange): String = buildString { ...@@ -184,7 +184,7 @@ internal operator fun ByteArray.get(range: IntRange): String = buildString {
private fun Byte.fixToString(): String { private fun Byte.fixToString(): String {
return when (this.toInt()) { return when (this.toInt()) {
in 0..15 -> "0${this.toString(16)}" in 0..15 -> "0${this.toString(16).toUpperCase()}"
else -> this.toString(16) else -> this.toString(16).toUpperCase()
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment