hex-0.1.2: Convert strings into hexadecimal and back.

Copyright(c) Taru Karttunen 2009
LicenseBSD-style
Maintainertaruti@taruti.net
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Data.Hex

Description

Convert strings into hexadecimal and back.

Synopsis
  • class Hex t where

    Documentation

    class Hex t where Source #

    Convert strings into hexadecimal and back.

    Minimal complete definition

    hex, unhex

    Methods

    hex :: t -> t Source #

    Convert string into hexadecimal.

    unhex :: Monad m => t -> m t Source #

    Convert from hexadecimal and fail on invalid input.

    Instances
    Hex String Source # 
    Instance details

    Defined in Data.Hex

    Methods

    hex :: String -> String Source #

    unhex :: Monad m => String -> m String Source #

    Hex ByteString Source # 
    Instance details

    Defined in Data.Hex

    Hex ByteString Source # 
    Instance details

    Defined in Data.Hex