Safe Haskell | None |
---|---|
Language | Haskell2010 |
Full Boxes
Documentation
data FullBox t (version :: Nat) where Source #
A FullBox
contains an extra version and a flags field. In this
implementation it is wrapped around the rest of the box content. This
enforces that the FullBox
header fields are always at the beginning - at
least as long as this module hides the FullBox
constructor ;)
Instances
(KnownNat version, IsBox t, Default (BoxContent t)) => Default (FullBox t version) Source # | |
(IsBox t, KnownNat v) => IsBoxContent (FullBox t v) Source # | |
(KnownNat v, IsBox t) => IsBox (FullBox t v) Source # | |
type BoxTypeSymbol (FullBox t v :: Type) Source # | |
type BoxContent (FullBox t v) Source # | |
newtype BoxFlags bits Source #
In addition to a version there can be 24 bits for custom flags etc in
a FullBox
.