|
@@ 11661-11675 (lines=15) @@
|
| 11658 |
|
self.RemoveDiagnosticInfos = [] |
| 11659 |
|
self._freeze = True |
| 11660 |
|
|
| 11661 |
|
def to_binary(self): |
| 11662 |
|
packet = [] |
| 11663 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.AddResults))) |
| 11664 |
|
for fieldname in self.AddResults: |
| 11665 |
|
packet.append(fieldname.to_binary()) |
| 11666 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.AddDiagnosticInfos))) |
| 11667 |
|
for fieldname in self.AddDiagnosticInfos: |
| 11668 |
|
packet.append(fieldname.to_binary()) |
| 11669 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.RemoveResults))) |
| 11670 |
|
for fieldname in self.RemoveResults: |
| 11671 |
|
packet.append(fieldname.to_binary()) |
| 11672 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.RemoveDiagnosticInfos))) |
| 11673 |
|
for fieldname in self.RemoveDiagnosticInfos: |
| 11674 |
|
packet.append(fieldname.to_binary()) |
| 11675 |
|
return b''.join(packet) |
| 11676 |
|
|
| 11677 |
|
@staticmethod |
| 11678 |
|
def from_binary(data): |
|
@@ 10186-10198 (lines=13) @@
|
| 10183 |
|
self.OutputArguments = [] |
| 10184 |
|
self._freeze = True |
| 10185 |
|
|
| 10186 |
|
def to_binary(self): |
| 10187 |
|
packet = [] |
| 10188 |
|
packet.append(self.StatusCode.to_binary()) |
| 10189 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.InputArgumentResults))) |
| 10190 |
|
for fieldname in self.InputArgumentResults: |
| 10191 |
|
packet.append(fieldname.to_binary()) |
| 10192 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.InputArgumentDiagnosticInfos))) |
| 10193 |
|
for fieldname in self.InputArgumentDiagnosticInfos: |
| 10194 |
|
packet.append(fieldname.to_binary()) |
| 10195 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.OutputArguments))) |
| 10196 |
|
for fieldname in self.OutputArguments: |
| 10197 |
|
packet.append(fieldname.to_binary()) |
| 10198 |
|
return b''.join(packet) |
| 10199 |
|
|
| 10200 |
|
@staticmethod |
| 10201 |
|
def from_binary(data): |