A class library for opening, parsing, and saving MIDI files.

Track.Write Method (BinaryWriterEx, Boolean)

Writes the Track and all its TrackEvent objects to a stream.

public override void Write(
   BinaryWriterEx w,
   bool writeHeader
);

Parameters

w
The BinaryWriterEx to use to write to the stream.
writeHeader
If true, writes the Track object's header (chunk type+length) to the stream.

See Also

Track Class | EF.SimpleMIDI Namespace | Track.Write Overload List