format package:hsndfile

Header and sample format
Stream format specification, consisting of header, sample and endianness formats. Not all combinations of header, sample and endianness formats are valid; valid combinations can be checked with the checkFormat function.
Endianness.
Header format.