getString

fun getString(name: String): String

Read an Opaque<String> field as String. Compact's runtime decodes the bytes through TextDecoder("utf-8"), so this is already a JVM-native string — no manual decode needed.