Join Slack
Powered by
Is there an efficient way to "cast" a ByteArray to...
# random
e
eygraber
01/21/2025, 1:09 AM
Is there an efficient way to "cast" a ByteArray to a UByteArray?
eygraber
01/21/2025, 1:12 AM
It's
asUByteArray
. I saw
toUByteArray
and that it copies the whole array, so I stopped looking 🙈
😅 1
e
ephemient
01/21/2025, 4:31 AM
same naming convention as toList/asList, etc.
Open in Slack
Previous
Next