From 5213ce3c7e7dfa2a4323ffec12371a14cc4abc26 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Fri, 2 Feb 2024 11:00:27 +0100 Subject: [PATCH] docs(common-utils): Say that hex digits are returned lowercase Signed-off-by: Sebastian Schuberth --- utils/common/src/main/kotlin/Extensions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/common/src/main/kotlin/Extensions.kt b/utils/common/src/main/kotlin/Extensions.kt index 0b57a79c93713..fd505dc2fdcdf 100644 --- a/utils/common/src/main/kotlin/Extensions.kt +++ b/utils/common/src/main/kotlin/Extensions.kt @@ -39,7 +39,7 @@ import java.util.Locale inline fun T.alsoIfNull(block: (T) -> Unit): T = this ?: also(block) /** - * Return a string of hexadecimal digits representing the bytes in the array. + * Return a string of lowercase hexadecimal digits representing the bytes in the array. */ fun ByteArray.encodeHex(): String = joinToString("") { String.format(Locale.ROOT, "%02x", it) }