Safe Haskell | Safe-Infered |
---|
- 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
- pageCompletedPackets :: OggPage -> Int
- pageKeyGranule :: OggPage -> Maybe Integer
Documentation
OggPage | |
|
pageScan :: ByteString -> ([OggTrack], [OggPage], ByteString)Source
Read a list of data bytes into Ogg pages
pageWrite :: OggPage -> ByteStringSource
Construct a binary representation of an Ogg page
pageLength :: OggPage -> IntSource
Determine the length in bytes of a page that would be written
pageCompletedPackets :: OggPage -> IntSource
Determine the number of packets completed by this page
pageKeyGranule :: OggPage -> Maybe IntegerSource
Determine the keygranule of a page