Module
Data.ArrayBuffer.Z85.Internal
- Package
- purescript-z85
- Repository
- athanclark/purescript-z85
#getZ85Char Source
getZ85Char :: Z85Char -> Char
#inZ85Charset Source
inZ85Charset :: String -> Boolean
#lookupZ85Char Source
lookupZ85Char :: Base85 -> Z85Char
#charCodeToBase85 Source
charCodeToBase85 :: Array Base85
Reverse-sorted by the lookup index obtained by getting the UTF-16 char code value, minus 32 -
the equivalent of "n".charCodeAt(0) - 32
in JavaScript, where n
is some x85 character.
#lookupBase85 Source
lookupBase85 :: Z85Char -> Base85
#encodeWord Source
encodeWord :: UInt -> Z85Chunk
Encodes the value by extracting it out of a little-endian packed word, and packing it into five x85 chars
#decodeWord Source
decodeWord :: Z85Chunk -> UInt