gbase32_clockwork/codebook

Types

pub type CodeBook {
  CodeBook(
    encode: EncodeFn,
    decode: DecodeFn,
    options: List(Options),
  )
}

Constructors

  • CodeBook(
      encode: EncodeFn,
      decode: DecodeFn,
      options: List(Options),
    )
pub type DecodeBook =
  Dict(String, Int)
pub type DecodeFn =
  fn(String) -> Result(String, String)
pub type EncodeBook =
  Dict(Int, String)
pub type EncodeFn =
  fn(String) -> Result(String, String)
Search Document