copyBytes

open override fun copyBytes(): ByteArray(source)

Get the raw bytes from this type, transferring data from Rust to the client layer.

This does not consume the newtype, instead copying the internal data across the FFI boundary.