Encoding

interface Encoding

An algorithm which can convert data between a decoded string and an encoded string

Properties

Link copied to clipboard
abstract val name: String

The name of this encoding

Functions

Link copied to clipboard
abstract fun decode(encoded: String): String

Given encoded data, returns the *decoded representation

Link copied to clipboard

Given decoded data, returns an Encodable containing both the decoded and encoded data

Link copied to clipboard

Given encoded data, returns an Encodable containing both the decoded and encoded data.

Link copied to clipboard
abstract fun encode(decoded: String): String

Given decoded data, returns the *encoded representation