isobmff-0.14.0.0: A parser and generator for the ISO-14496-12/14 base media file format

Safe HaskellNone
LanguageHaskell2010

Data.Type.BitRecords.SizedString

Synopsis

Documentation

type SizedString str bytes = MkField (MkFieldCustom :: BitField ASizedString ASizedString (8 * bytes)) := MkASizedString str bytes Source #

A type level symbol paired with a type level length, that determines how many characters of the symbol may be used. The first parameter defines the length field.

utf8 :: QuasiQuoter Source #

Create a SizedString from a utf-8 string

utf82 :: QuasiQuoter Source #

Create a SizedString from a utf-8 string

type SizedString2 str bytes = Konst (MkFieldCustom :: BitField ASizedString ASizedString (8 * bytes)) :=. MkASizedString str bytes Source #