Safe Haskell | None |
---|---|
Language | Haskell98 |
Functions for reading and writing data using the endianess of the machine. This is the way Sox handles raw data. This module is more or less provided for completeness, since it is based on lists, which means that it is too slow to process real world data. For serious applications use Data.StorableVector.Lazy.
Documentation
withReadFile :: Storable a => FilePath -> (Exceptional IOReadException [a] -> IO b) -> IO b Source #
getContents :: Storable a => Handle -> IO (Exceptional IOReadException [a]) Source #
data ReadException Source #
Instances
Enum ReadException Source # | |
Defined in Sound.Sox.Signal.List succ :: ReadException -> ReadException # pred :: ReadException -> ReadException # toEnum :: Int -> ReadException # fromEnum :: ReadException -> Int # enumFrom :: ReadException -> [ReadException] # enumFromThen :: ReadException -> ReadException -> [ReadException] # enumFromTo :: ReadException -> ReadException -> [ReadException] # enumFromThenTo :: ReadException -> ReadException -> ReadException -> [ReadException] # | |
Eq ReadException Source # | |
Defined in Sound.Sox.Signal.List (==) :: ReadException -> ReadException -> Bool # (/=) :: ReadException -> ReadException -> Bool # | |
Show ReadException Source # | |
Defined in Sound.Sox.Signal.List showsPrec :: Int -> ReadException -> ShowS # show :: ReadException -> String # showList :: [ReadException] -> ShowS # |