Ejemplo n.º 1
0
 /// <summary>
 /// Saves a kit to the specified stream.
 /// </summary>
 /// <param name="kit">The kit to save. Must not be null.</param>
 /// <param name="stream">The stream to save the module to. Must not be null.</param>
 public static void Save(this Model.Kit kit, Stream stream) => ProtoIo.Write(stream, kit);
Ejemplo n.º 2
0
 /// <summary>
 /// Saves module audio data to the specified stream.
 /// </summary>
 /// <param name="audio">The audio data to save. Must not be null.</param>
 /// <param name="stream">The stream to save the data to. Must not be null.</param>
 public static void Save(this Model.Audio.ModuleAudio audio, Stream stream) => ProtoIo.Write(stream, audio);
Ejemplo n.º 3
0
 /// <summary>
 /// Saves a module to the specified stream.
 /// </summary>
 /// <param name="module">The module to save. Must not be null.</param>
 /// <param name="stream">The stream to save the module to. Must not be null.</param>
 public static void Save(this Model.Module module, Stream stream) => ProtoIo.Write(stream, module);