|
@@ 12211-12225 (lines=15) @@
|
| 12208 |
|
self.RemoveDiagnosticInfos = [] |
| 12209 |
|
self._freeze = True |
| 12210 |
|
|
| 12211 |
|
def to_binary(self): |
| 12212 |
|
packet = [] |
| 12213 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.AddResults))) |
| 12214 |
|
for fieldname in self.AddResults: |
| 12215 |
|
packet.append(fieldname.to_binary()) |
| 12216 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.AddDiagnosticInfos))) |
| 12217 |
|
for fieldname in self.AddDiagnosticInfos: |
| 12218 |
|
packet.append(fieldname.to_binary()) |
| 12219 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.RemoveResults))) |
| 12220 |
|
for fieldname in self.RemoveResults: |
| 12221 |
|
packet.append(fieldname.to_binary()) |
| 12222 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.RemoveDiagnosticInfos))) |
| 12223 |
|
for fieldname in self.RemoveDiagnosticInfos: |
| 12224 |
|
packet.append(fieldname.to_binary()) |
| 12225 |
|
return b''.join(packet) |
| 12226 |
|
|
| 12227 |
|
@staticmethod |
| 12228 |
|
def from_binary(data): |
|
@@ 10618-10630 (lines=13) @@
|
| 10615 |
|
self.OutputArguments = [] |
| 10616 |
|
self._freeze = True |
| 10617 |
|
|
| 10618 |
|
def to_binary(self): |
| 10619 |
|
packet = [] |
| 10620 |
|
packet.append(self.StatusCode.to_binary()) |
| 10621 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.InputArgumentResults))) |
| 10622 |
|
for fieldname in self.InputArgumentResults: |
| 10623 |
|
packet.append(fieldname.to_binary()) |
| 10624 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.InputArgumentDiagnosticInfos))) |
| 10625 |
|
for fieldname in self.InputArgumentDiagnosticInfos: |
| 10626 |
|
packet.append(fieldname.to_binary()) |
| 10627 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.OutputArguments))) |
| 10628 |
|
for fieldname in self.OutputArguments: |
| 10629 |
|
packet.append(fieldname.to_binary()) |
| 10630 |
|
return b''.join(packet) |
| 10631 |
|
|
| 10632 |
|
@staticmethod |
| 10633 |
|
def from_binary(data): |