iff-0.0.3: Constructing and dissecting IFF files

Safe HaskellSafe-Infered

Data.IFF

Description

ToDo:

Lazy read and write.

Problem on writing: If the length of data is computed lazily, then you must seek back to the file position where the size is stored. That is for writing of lazily generated data we need a seekable file device.

Documentation

data T Source

Constructors

Cons 

Fields

chunkId :: ChunkId
 
chunk :: Chunk
 

Instances

data Chunk Source

Constructors

Form 

Fields

parts :: [T]
 
List 

Fields

props :: [T]
 
parts :: [T]
 
Cat 

Fields

parts :: [T]
 
Prop 

Fields

parts :: [T]
 
Chunk 

Fields

content :: ByteString
 

Instances