fun Key.toBytes(): Bytes
Extension function that converts a Key to an instance of Bytes.
See Also
Key.getEncoded