ISOMedia.FullBox (ISOMedia v0.1.0)

Copy Markdown View Source

Helper for the version (1 byte) + flags (3 bytes) prefix that many ISOBMFF boxes (FullBoxes) carry before their payload.

Summary

Functions

Build a FullBox payload iolist from version, flags, and the rest of the payload.

Split a FullBox payload into {version, flags, rest}.

Functions

encode(version, flags, payload)

Build a FullBox payload iolist from version, flags, and the rest of the payload.

parse(arg)

Split a FullBox payload into {version, flags, rest}.