diff --git a/app/src/main/java/io/legado/app/utils/StringUtils.kt b/app/src/main/java/io/legado/app/utils/StringUtils.kt index 523281642..78751ae16 100644 --- a/app/src/main/java/io/legado/app/utils/StringUtils.kt +++ b/app/src/main/java/io/legado/app/utils/StringUtils.kt @@ -295,7 +295,7 @@ object StringUtils { fun byteToHexString(bytes: ByteArray?): String { if (bytes == null) return "" - val sb = StringBuilder(bytes.size * 2) + val sb = StringBuilder() for (b in bytes) { val hex = 0xff and b.toInt() if (hex < 16) {