-- | Type class for every metadata sub-blocks.
class (Binary α, Eq α, Show α, Typeable α) ⇒ Metadata α where
- -- | Get the metadata ID (mandatory).
+ -- | Get the metadata ID without odd-size bit nor large-block bit
+ -- (mandatory).
metaID ∷ α → Word8
-- | Get the size of metadata (optional).
metaSize ∷ α → Word32