ISOMedia.Boxes.FileType (ISOMedia v0.1.0)

Copy Markdown View Source

Typed view of the ftyp File Type Box.

Summary

Functions

Decode an ftyp box into a %FileType{}.

Encode a %FileType{} back into an ftyp box.

Types

t()

@type t() :: %ISOMedia.Boxes.FileType{
  compatible_brands: [String.t()],
  major_brand: String.t(),
  minor_version: non_neg_integer()
}

Functions

decode(box)

Decode an ftyp box into a %FileType{}.

encode(ft)

Encode a %FileType{} back into an ftyp box.