2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-10-31 07:51:36 +00:00

Pull Stream

This commit is contained in:
2025-10-30 12:45:29 +03:00
parent a63a9b5511
commit 746f12320e
25 changed files with 1637 additions and 704 deletions

View File

@@ -11,7 +11,7 @@ public class ArgumentTemplate
public bool Optional { get; set; }
public RepresentationType Type { get; set; }
public TRU Type { get; set; }
public ParameterInfo ParameterInfo { get; set; }
@@ -24,7 +24,7 @@ public class ArgumentTemplate
var cs = (uint)data[offset++];
var name = data.GetString(offset, cs);
offset += cs;
var (size, type) = RepresentationType.Parse(data, offset);
var (size, type) = TRU.Parse(data, offset);
return (cs + 2 + size, new ArgumentTemplate(name, index, type, optional));
}
@@ -34,7 +34,7 @@ public class ArgumentTemplate
}
public ArgumentTemplate(string name, int index, RepresentationType type, bool optional)
public ArgumentTemplate(string name, int index, TRU type, bool optional)
{
Name = name;
Index = index;