-- Copyright 2015 Alvaro J. Genial (http://alva.ro) -- see LICENSE.md for more.

module Codec.Binary.Base91.Efficient.Lazy (decode, encode) where

import Codec.Binary.Base91.ByteString.Lazy hiding (decode, encode)
import Codec.Binary.Base91.Text.Lazy       hiding (decode, encode)
import Data.ByteString.Lazy (ByteString)
import Data.Text.Lazy (Text)
import qualified Codec.Binary.Base91 as Base91


-- | Encodes 'ByteString' to 'Text' in Base91; the opposite of 'decode'.
encode :: ByteString -> Text
encode = Base91.encode

-- | Decodes 'ByteString' from 'Text' in Base91; the opposite of 'encode'.
decode :: Text -> ByteString
decode = Base91.decode