//protobuf-kotlin/com.google.protobuf.kotlin/toByteStringUtf8

toByteStringUtf8

[JVM]
Content
fun String.toByteStringUtf8(): ByteString

Encodes this String into a sequence of UTF-8 bytes and returns the result as a ByteString.