[lang-ref] ( string_to_hex ) ( kotlin )

@Disabled("Not supported")
@Test
fun stringToHex() {
}
@Test
fun stringToHexAlternative() {
	val s = "abc"
	val h = s
		.toByteArray(Charsets.UTF_8)
		.joinToString("") { b ->
			"%02x".format(b)
		}

	assertEquals("616263", h)
}