EncodedData

interface EncodedData

Encoded Data

Specifies the interface which encoded data value classes comply with; each encoded data class indicates its encoding, and provides a means for decoding to/from strings.

Inheritors

Properties

Link copied to clipboard
abstract val data: ByteArray

Raw data associated with this encoded data payload.

Link copied to clipboard
abstract val encoding: Encoding

Indicate the encoding type applied to the data held by this object.

Link copied to clipboard
abstract val string: String

Decode the underlying data to a string.