Copyright | (c) HyraxBio 2018 |
---|---|
License | BSD3 |
Maintainer | andre@hyraxbio.co.za, andre@andrevdm.com |
Stability | beta |
Safe Haskell | Safe |
Language | Haskell2010 |
This module contains the core types for working with AB1 files.
See
Synopsis
- data Abi = Abi {}
- data Header = Header {}
- data Directory = Directory {
- dTagName :: !Text
- dTagNum :: !Int
- dElemType :: !ElemType
- dElemTypeCode :: !Int
- dElemTypeDesc :: !Text
- dElemSize :: !Int
- dElemNum :: !Int
- dDataSize :: !Int
- dDataOffset :: !Int
- dData :: !ByteString
- dDataDebug :: ![Text]
- data ElemType
- = ElemUnknown
- | ElemCustom
- | ElemByte
- | ElemChar
- | ElemWord
- | ElemShort
- | ElemLong
- | ElemFloat
- | ElemDouble
- | ElemDate
- | ElemTime
- | ElemPString
- | ElemCString
- | ElemThumb
- | ElemBool
- | ElemRationalUnsupported
- | ElemBCDUnsupported
- | ElemPointUnsupported
- | ElemRectUnsupported
- | ElemVPointUnsupported
- | ElemVRectUnsupported
- | ElemTagUnsupported
- | ElemDeltaCompUnsupported
- | ElemLZWCompUnsupported
- | ElemCompressedDataUnsupported
- | ElemRoot
- getElemType :: Int -> ElemType
- describeElemType :: Int -> (ElemType, Text)
Documentation
A single ABI
ABI header
ABI directory entry.
The dData
field contains the data for the entry
Directory | |
|
Type of the elements in a directory entry. See the spec for details on each type if required.