Chunk
MIDI chunk.
Classes
Chunk(name, data)
Class representing a MIDI chunk.
A MIDI chunk is a sequence of bytes that starts with a 4-byte string, followed by a 32-bit integer representing the size of the following data.
Initialize a chunk.
Return a string representation of the chunk.
Read a chunk from bytes.
Read a chunk from a stream.
Return length of data.
Return chunk as bytes.