-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Parser for OS X Universal Binary format.
--
-- Parser for OS X Universal Binary format.
@package universal-binary
@version 0.11
-- | Data.UniversalBinary is a module for parsing an OS X universal binary
-- into a list of its member objects.
module Data.UniversalBinary
-- | Parse a universal binary ByteString into a list of contained objects.
-- An error is thrown for unexpected data.
parseUniversalBinary :: ByteString -> [Object]
-- | A member of the universal binary. Usually a Mach-O object for a given
-- architecture.
data Object
Object :: Int -> Int -> Int -> ByteString -> Object
-- | CPU type from usrincludemachmachine.h.
cputype :: Object -> Int
-- | CPU subtype from usrincludemachmachine.h.
cpusubtype :: Object -> Int
-- | Required file alignment of object.
align :: Object -> Int
-- | Byte string for object data.
object :: Object -> ByteString
instance Eq Object
instance Show Object