Пример #1
0
        public void Save(Stream stream, RipDocument document)
        {
            var writer = new RipWriter(stream);

            foreach (var command in document.Commands)
            {
                command.Write(writer);
            }
            writer.WriteNewCommand("#|#|#");
            writer.WriteNewLine();
        }
Пример #2
0
 public virtual void Write(RipWriter writer)
 {
     writer.WriteNewCommand(OpCode);
 }