Reads a chunk from the input (meaning, it can either read a header chunk or a track chunk).
Exception if the chunk is invalid
See Implementation
Reads a chunk from the input (meaning, it can either read a header chunk or a track chunk).