public void Write(Stream target) { BinaryWriterEx writer = new BinaryWriterEx(target); writer.Write(Channel); writer.Write(Frequency); writer.Write(ReverbVolume); writer.Write(Volume); writer.Write(Panning); writer.Write24(Offset); writer.Write(SampleType); writer.Write(Flags); }