is there a way to do a non-lossy (fallible) conver...
# getting-started
y
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
oh, I think that's just
ByteArray.decodeToString(throwOnInvalidSequence = true)