These are chat archives for JetBrains/kotlin

Aug 2017
Ravi Teja
Aug 24 2017 13:47
Hi. How do I print array of bytes in kotlin?
fun main(args: Array<String>) {
    var b = "Hello World".toByteArray()
I need binary representation
Tesla Ice Zhang
Aug 24 2017 14:03
Use what you use in Java
Aug 24 2017 14:17
@ice1000 I don't think it's fair to assume everyone that is learning Kotlin knows Java.
I dont, I never bothered to learn Java due to it's uglyness.
Ravi Teja
Aug 24 2017 16:48
@ice1000 @Phantom190 Yep. Didn't use java much
Ravi Teja
Aug 24 2017 16:57
But found it. Thanks. Arrays.toString(mByteArray). And didn't find this elegant