Join Slack
Communities
Powered by
is there a way to do a non-lossy (fallible) conver...
# getting-started
y
y
06/13/2024, 7:52 PM
is there a way to do a non-lossy (fallible) conversion from
ByteArray
to
String
? I'd like to know if the array isn't a valid string in the given charset
y
06/13/2024, 7:58 PM
oh, I think that's just
ByteArray.decodeToString(throwOnInvalidSequence = true)
Open in Slack
Previous
Next