Open michaelryannewell opened 2 years ago
The function should be renamed to something like:
fun toEncodedString(): String { return try { bytesToString(value, characterSetForTextEncoding(textEncoding)) } catch (e: CharacterCodingException) { "" } }
Otherwise, Kotlin uses the .toString() function from Android OS resulting in a string "Java.function.etc"
The function should be renamed to something like:
Otherwise, Kotlin uses the .toString() function from Android OS resulting in a string "Java.function.etc"