| |  | hogg-0.2.0: Library and tools to manipulate the Ogg container format | Contents | Index | 
 | 
| | Codec.Container.Ogg.ContentType | 
 | 
|  | 
|  | 
| Synopsis | 
|  | 
|  | 
|  | 
| Documentation | 
|  | 
| data ContentType | 
| | Data: ContentType |  | Constructors |  | | ContentType |  |  | | label :: String |  |  | mime :: [String] |  |  | identifyP :: (ByteString -> Bool) |  |  | headers :: Int |  |  | preroll :: Int |  |  | granulerateF :: (Maybe (ByteString -> Granulerate)) |  |  | granuleshiftF :: (Maybe (ByteString -> Int)) |  |  | metadata :: (ByteString -> MessageHeaders) |  | 
 | 
 |  |  Instances |  |  | 
 | 
|  | 
| identify :: ByteString -> Maybe ContentType | 
|  | 
| granulerate :: ContentType -> ByteString -> Maybe Granulerate | 
|  | 
| granuleshift :: ContentType -> ByteString -> Maybe Int | 
|  | 
| parseType :: String -> Maybe ContentType | 
|  | 
| class ContentTyped a  where | 
| | Typeclass: ContentTyped |  |  |  | Methods |  |  |  |  |  |  Instances |  |  | 
 | 
|  | 
| contentTypeIs :: ContentTyped a => ContentType -> a -> Bool | 
|  | 
| contentTypeOf :: ContentTyped a => a -> Maybe ContentType | 
|  | 
| skeleton :: ContentType | 
|  | 
| Produced by Haddock version 0.8 |