[lang-ref] ( hex_to_string ) ( kotlin )
@Disabled("Not supported")
@Test
fun hexToString() {
}
@Test
fun hexToStringAlternative() {
val h = "616263"
val s = h
.chunked(2)
.map { it.toInt(16).toByte() }
.toByteArray()
.toString(Charsets.UTF_8)
assertEquals("abc", s)
}