“ffff000000000000”.hexStringToByteArray()
# language-proposals
c
“ffff000000000000”.hexStringToByteArray()
👍 3
👎 1
l
So you replied without reading my message entirely.
This is extremely verbose, and I had to use hex string to byte array conversion instead to make my code readable.
I already know I can do this, but this adds overhead compared to
byteArrayOf(...)
, which I don't want in my Android app, and which nobody would want in embedded, power constrained systems dealing a lot with raw bytes.