KeyDecoder

interface KeyDecoder<KF : KeyFormat, K : Key>(source)

Functions

Link copied to clipboard
open suspend fun decodeFrom(format: KF, data: ByteArray): K
Link copied to clipboard
open fun decodeFromBlocking(format: KF, data: ByteArray): K
Link copied to clipboard
open suspend fun decodeFromByteArray(format: KF, bytes: ByteArray): K
Link copied to clipboard
abstract fun decodeFromByteArrayBlocking(format: KF, bytes: ByteArray): K
Link copied to clipboard
open suspend fun decodeFromByteString(format: KF, byteString: ByteString): K
Link copied to clipboard
open fun decodeFromByteStringBlocking(format: KF, byteString: ByteString): K