All checks were successful
/ Build and Release Library (push) Successful in 1m38s
13 lines
315 B
Scala
13 lines
315 B
Scala
package gs.std.v0
|
|
|
|
/** Interface for byte decoding from encoded String formats.
|
|
*/
|
|
trait Decoder[-A <: EncodedString]:
|
|
/** Decode an input string to an array of bytes.
|
|
*
|
|
* @param input
|
|
* The input to decode.
|
|
* @return
|
|
* The decoded byte array.
|
|
*/
|
|
def decode(input: A): Array[Byte]
|