Copyright | (c) 2020 Sam Protas |
---|---|
License | BSD3 |
Maintainer | Sam Protas <sam.protas@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Internal Base83 encoding/decoding implementation.
Note: This is an internal module not subject to PVP adherence.
Synopsis
- base83Encode :: Int -> Int -> Maybe Builder
- base83Decode :: ByteString -> Either Word8 Int
- charToIndex :: Map Word8 Int
- alphabet :: Vector Word8
Documentation
base83Encode :: Int -> Int -> Maybe Builder Source #
Base 83 encoding per the alphabet
specified by Blurhash
base83Decode :: ByteString -> Either Word8 Int Source #
Base 83 decoding per the alphabet
specified by Blurhash