OctetStringEncapsulated

@Serializable
data class OctetStringEncapsulated<T>(val value: T)(source)

OCTET STRING encapsulation wrapper.

This is encoded as UNIVERSAL OCTET STRING with primitive form and the encoded payload value bytes as content.

Constructors

Link copied to clipboard
constructor(value: T)

Properties

Link copied to clipboard
val value: T

Functions

Link copied to clipboard
operator fun getValue(thisRef: Any?, property: Any?): T
Link copied to clipboard
operator fun <T> OctetStringEncapsulated<T>?.getValue(thisRef: Any?, property: Any?): T?
Link copied to clipboard

Use like so: val foo by octetStringEncapsulated.orValue("Some sane default that must not even align on nullability")