unpack

Parses a raw SDAT byte array and returns a fully populated SdatArchive.

Return

An SdatArchive containing all sequences, banks, wave archives and streams.

Parameters

data

The raw SDAT bytes.

Throws

IllegalArgumentException

if data is too short or does not start with "SDAT".