toByteArray

actual open fun toByteArray(): ByteArray
expect fun toByteArray(): ByteArray

Returns a byte array containing a copy of the bytes in this ByteString.

actual open fun toByteArray(): ByteArray
actual open fun toByteArray(): ByteArray