Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype Alphabet = Alphabet {}
- bitcoinAlphabet :: Alphabet
- rippleAlphabet :: Alphabet
- flickrAlphabet :: Alphabet
- b58 :: Alphabet -> Int -> Word8
- b58' :: Alphabet -> Word8 -> Maybe Int
- bsToInteger :: ByteString -> Integer
- integerToBS :: Integer -> ByteString
Documentation
bsToInteger :: ByteString -> Integer Source
Decode a big endian Integer from a bytestring
integerToBS :: Integer -> ByteString Source
Encode an Integer to a bytestring as big endian