memory-0.7: memory and related abtraction stuff

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Data.ByteArray.Encoding

Description

ByteArray base converting

Synopsis

Documentation

convertToBase :: (ByteArrayAccess bin, ByteArray bout) => Base -> bin -> bout

Convert a bytearray to the equivalent representation in a specific Base

convertFromBase :: (ByteArrayAccess bin, ByteArray bout) => Base -> bin -> Either String bout

Try to Convert a bytearray from the equivalent representation in a specific Base

data Base

Different bases that can be used

Constructors

Base16

similar to hexadecimal

Base32 
Base64 

Instances