toByteArray

common
fun toByteArray(): ByteArray

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

open fun toByteArray(): ByteArray