to Byte String
Returns a ByteString containing a copy of this ByteBuffer.
@JvmStatic()
Content copied to clipboard
Returns a new ByteString containing a copy of byteCount
bytes of this ByteArray starting at offset
.
fun ByteArray.toByteString(offset: Int = 0, byteCount: Int = size): ByteString
Content copied to clipboard