//protobuf-kotlin/com.google.protobuf.kotlin/toByteString
[JVM]
Content
fun ByteArray.toByteString(): ByteString
More info
Returns a copy of this ByteArray as an immutable ByteString.
[JVM]
Content
fun ByteBuffer.toByteString(): ByteString
More info
Copies the remaining bytes from this ByteBuffer to a ByteString.