“ffff000000000000”.hexStringToByteArray() 1 reply ...
# language-proposals
l
“ffff000000000000”.hexStringToByteArray() 1 reply 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.