package gs.std.v0.core

/** 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]
