The chunks of a GameMaker data file: a FORM holding four-letter named chunks, each
a length and its bytes.
{:ok, chunks} = Cauldron2D.GameMaker.Chunks.index(bytes)
{offset, size} = chunks["SPRT"]Offsets are absolute and point past the chunk's eight-byte header.
Summary
Functions
Whether the file has a chunk called name with anything in it.
Every chunk's offset and size, by name.
Types
@type t() :: %{required(String.t()) => {non_neg_integer(), non_neg_integer()}}