Landry Norris
01/26/2023, 3:43 PMString#encodeToByteArray
would add a null terminator, since it’s used by cstr, however, this does not appear to be the case. Should I manually add 0.toChar()
to each string I need to pass to C? I also noticed that ‘\0’ is not valid in Kotlin, saying it’s an illegal escape.ephemient
01/26/2023, 5:45 PM\u0000