Skip to main content

Crate tomolib

Crate tomolib 

Source
Expand description

Parsers and writers for the Nintendo first-party file formats found in recent Switch titles (BYML, SARC, AINB, BNTX, BWAV, BARS, RSTBL, and the MSBT/MSBP message formats), plus zstd (de)compression.

Each format lives in its own module under formats. The usual entry point is a parse constructor that reads a byte buffer, paired with a serializer (to_bytes, to_binary, write) that produces one back.

Modules§

formats

Enums§

Error
An error produced while parsing or writing a file format.

Type Aliases§

Result
Result alias used throughout the crate, defaulting to Error.