basesystems
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.BaseSystems

Description

This file provides common implementations for BaseSystem. These can be used by calling either `encoder basename` or `decoder basename`.

Synopsis

Documentation

base2 :: RadixSystem Source #

Defines the BaseSystem for binary. This could be a BitwiseSystem, but we would have to support multiple character ABCs.Symbols; currently we can't do this, because it depends on Text.chunksOf 1 to tokenize the utf8 codes.

base10 :: RadixSystem Source #

Defines base10 as RadixSystem.

base16lower :: RadixSystem Source #

Defines lowercase hexadecimal on BitwiseSystem.

base16upper :: RadixSystem Source #

Defines uppercase hexidecimal on BitwiseSystem. Orignally, this was on RadixSystem, but I believe BitwiseSystem can become the more optimized implementation. Either works.

base32hexlower :: BitwiseSystem Source #

Defines lowercase base32 from RFC4648, extended hex version, with padding. https://datatracker.ietf.org/doc/html/rfc4648.html#section-7

base32hexlowerNP :: BitwiseSystem Source #

Defines lowercase base32 from RFC4648, extended hex version. No padding! https://datatracker.ietf.org/doc/html/rfc4648.html#section-7

base32hexupper :: BitwiseSystem Source #

Defines lowercase base32 from RFC4648, extended hex version, with padding. https://datatracker.ietf.org/doc/html/rfc4648.html#section-7

base32hexupperNP :: BitwiseSystem Source #

Defines uppercase base32 from RFC4648, extended hex version. No padding! https://datatracker.ietf.org/doc/html/rfc4648.html#section-7

base58btc :: RadixSystem Source #

Defines Bitcoin's base58 implementation. Flickr apparently has one too.