virtualSoC  0.6.2
baskett
vmasm.RawOutput Class Reference
+ Inheritance diagram for vmasm.RawOutput:

Public Member Functions

bool WriteToFile (byte[] asmdata, string file)
 

Properties

string Name [get]
 

Detailed Description

Member Function Documentation

◆ WriteToFile()

bool vmasm.RawOutput.WriteToFile ( byte []  asmdata,
string  file 
)

Implements vmasm.IModuleOutput.

32  {
33  file = file.Contains(".df") ? file : file + ".bin";
34 
35  using(var sfile = new System.IO.FileStream(file, System.IO.FileMode.Create))
36  {
37  sfile.Write (asmdata, 0, asmdata.Length);
38  }
39  return true;
40  }

Property Documentation

◆ Name

string vmasm.RawOutput.Name
get

The documentation for this class was generated from the following file: