Where can i find Integer.reverseBytes like java


#1

I am trying to find something like

Integer.reverseBytes
Short.reverseBytes

in kotlin. Does someone know where to find it or I should call these method directly through java.lang.Short.reverseBytes()


#2

See https://youtrack.jetbrains.com/issue/KT-20544
So you will probably find it in https://github.com/Kotlin/kotlinx-io


#3

Thank you