pull/399/head
Celeter 4 years ago committed by GitHub
parent d13e8ad26d
commit c0c863071f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/utils/StringUtils.kt

@ -295,7 +295,7 @@ object StringUtils {
fun byteToHexString(bytes: ByteArray?): String { fun byteToHexString(bytes: ByteArray?): String {
if (bytes == null) return "" if (bytes == null) return ""
val sb = StringBuilder(bytes.size * 2) val sb = StringBuilder()
for (b in bytes) { for (b in bytes) {
val hex = 0xff and b.toInt() val hex = 0xff and b.toInt()
if (hex < 16) { if (hex < 16) {

Loading…
Cancel
Save