MIDIReader.readChunk

Reads a chunk from the input (meaning, it can either read a header chunk or a track chunk).

struct MIDIReader(T)
readChunk
()
if (
isInputRange!T &&
is(ElementType!T : const(ubyte))
)

Throws

Exception if the chunk is invalid

Meta