Exemple #1
0
 public bool Accept(TBytes type, TType x, Dictionary <DefTypeBase, bool> y, HashSet <DefTypeBase> z)
 {
     return(true);
 }
Exemple #2
0
 public void Accept(TBytes type, HashSet <DefTypeBase> x)
 {
 }
 public string Accept(TBytes type, string bufName, string fieldName)
 {
     return($"{fieldName} = {bufName}.ReadBytes();");
 }
Exemple #4
0
 public string Accept(TBytes type)
 {
     return("BYTES");
 }
 public string Accept(TBytes type)
 {
     return("[]byte");
 }
 public DType Accept(TBytes type, Sheet.NamedRow x, bool multirow, bool nullable)
 {
     throw new NotSupportedException();
 }
Exemple #7
0
 public override string Accept(TBytes type)
 {
     return("System.Array.Empty<byte>()");
 }
Exemple #8
0
 public string Accept(TBytes type, string bufName, string fieldName)
 {
     return($"{bufName}.WriteBytes({fieldName});");
 }
 public string Accept(TBytes type, string bufName, string fieldName)
 {
     return($"{fieldName} = new Uint8Array({bufName}.ReadArrayBuffer())");
 }
Exemple #10
0
 public string Accept(TBytes type, string bufName)
 {
     return($"{bufName}.ReadBytes()");
 }
Exemple #11
0
 public virtual TR Accept(TBytes type)
 {
     return DoAccept(type);
 }
Exemple #12
0
 public DType Accept(TBytes type, string x)
 {
     throw new NotSupportedException();
 }
 public DType Accept(TBytes type, IEnumerable <ExcelStream> x, bool y, DefAssembly ass)
 {
     throw new NotImplementedException();
 }
Exemple #14
0
 public string Accept(TBytes type, string fieldName, string logType)
 {
     return($"{fieldName} = System.Array.Empty<byte>();");
 }
 public string Accept(TBytes type, string fieldName, string tablesName)
 {
     throw new NotImplementedException();
 }
 public virtual void Accept(TBytes type, T x)
 {
 }
Exemple #17
0
 public string Accept(TBytes type, string jsonVarName, string fieldName)
 {
     return($"{fieldName} = {jsonVarName}");
 }
 public string Accept(TBytes type)
 {
     return("writeBytes");
 }
 public virtual void Accept(TBytes type, T x)
 {
     DoAccept(type, x);
 }
 public void Accept(TBytes type, Dictionary <string, DefTypeBase> x)
 {
 }
Exemple #21
0
 public string Accept(TBytes type, string bufName, string fieldName)
 {
     return($"if(!{bufName}.readBytes({fieldName})) return false;");
 }
 public string Accept(TBytes type)
 {
     return($"string");
 }
 public string Accept(TBytes type)
 {
     return("byte[]");
 }
Exemple #24
0
 public DType Accept(TBytes type, XElement x, DefAssembly ass)
 {
     throw new NotSupportedException();
 }
Exemple #25
0
 public string Accept(TBytes type)
 {
     return("readBytes");
 }
 public DType Accept(TBytes type, ExcelStream x)
 {
     throw new NotImplementedException();
 }
Exemple #27
0
 public string Accept(TBytes type, string x)
 {
     throw new NotImplementedException();
 }
 public string Accept(TBytes type, string json, string field)
 {
     throw new NotImplementedException();
 }
Exemple #29
0
 public override bool Accept(TBytes type)
 {
     return(true);
 }
Exemple #30
0
 public string Accept(TBytes type, string json, string x)
 {
     throw new NotSupportedException();
 }