Ejemplo n.º 1
0
        private static void Osc(AnsiParser sut, OsCommand command, params string[] args)
        {
            var arr = new ReadOnlyMemory <byte> [args.Length];

            for (var i = 0; i < args.Length; i++)
            {
                arr[i] = Encoding.UTF8.GetBytes(args[i]);
            }
            sut.OnOsCommand(command, arr.AsSpan());
        }