hogg-0.2.0: Library and tools to manipulate the Ogg container formatContentsIndex
Codec.Container.Ogg.Page
Synopsis
data OggPage = OggPage {
pageOffset :: !Int64
pageTrack :: !OggTrack
pageContinued :: !Bool
pageIncomplete :: !Bool
pageBOS :: !Bool
pageEOS :: !Bool
pageGranulepos :: !Granulepos
pageSeqno :: !Word32
pageSegments :: ![ByteString]
}
pageScan :: ByteString -> ([OggTrack], [OggPage], ByteString)
pageWrite :: OggPage -> ByteString
pageLength :: OggPage -> Int
pageKeyGranule :: OggPage -> Maybe Integer
Documentation
data OggPage
Constructors
OggPage
pageOffset :: !Int64
pageTrack :: !OggTrack
pageContinued :: !Bool
pageIncomplete :: !Bool
pageBOS :: !Bool
pageEOS :: !Bool
pageGranulepos :: !Granulepos
pageSeqno :: !Word32
pageSegments :: ![ByteString]
show/hide Instances
pageScan :: ByteString -> ([OggTrack], [OggPage], ByteString)
Read a list of data bytes into Ogg pages
pageWrite :: OggPage -> ByteString
Construct a binary representation of an Ogg page
pageLength :: OggPage -> Int
Determine the length of a page that would be written
pageKeyGranule :: OggPage -> Maybe Integer
Determine the keygranule of a page
Produced by Haddock version 0.8