Otfm.Tag
Tags.
OpenType tags are four bytes identifiers.
type t = tag
The type for OpenType tags.
val of_bytes : string -> tag
of_bytes s
is a tag corresponding to s
.
val to_bytes : tag -> string
to_string t
is the tag as a four byte long string.
val to_int32 : tag -> int32
to_int32 t
is the tag as an unsigned 32 bits integer.
val of_int32 : int32 -> tag
of_int32 t
is the tag from and unsigned 32 bits integer.
val pp : Format.formatter -> tag -> unit
pp t
prints a textual representation of t
on ppf
.