|
@@ 12245-12259 (lines=15) @@
|
| 12242 |
|
self.RemoveDiagnosticInfos = [] |
| 12243 |
|
self._freeze = True |
| 12244 |
|
|
| 12245 |
|
def to_binary(self): |
| 12246 |
|
packet = [] |
| 12247 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.AddResults))) |
| 12248 |
|
for fieldname in self.AddResults: |
| 12249 |
|
packet.append(fieldname.to_binary()) |
| 12250 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.AddDiagnosticInfos))) |
| 12251 |
|
for fieldname in self.AddDiagnosticInfos: |
| 12252 |
|
packet.append(fieldname.to_binary()) |
| 12253 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.RemoveResults))) |
| 12254 |
|
for fieldname in self.RemoveResults: |
| 12255 |
|
packet.append(fieldname.to_binary()) |
| 12256 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.RemoveDiagnosticInfos))) |
| 12257 |
|
for fieldname in self.RemoveDiagnosticInfos: |
| 12258 |
|
packet.append(fieldname.to_binary()) |
| 12259 |
|
return b''.join(packet) |
| 12260 |
|
|
| 12261 |
|
@staticmethod |
| 12262 |
|
def from_binary(data): |
|
@@ 10652-10664 (lines=13) @@
|
| 10649 |
|
self.OutputArguments = [] |
| 10650 |
|
self._freeze = True |
| 10651 |
|
|
| 10652 |
|
def to_binary(self): |
| 10653 |
|
packet = [] |
| 10654 |
|
packet.append(self.StatusCode.to_binary()) |
| 10655 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.InputArgumentResults))) |
| 10656 |
|
for fieldname in self.InputArgumentResults: |
| 10657 |
|
packet.append(fieldname.to_binary()) |
| 10658 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.InputArgumentDiagnosticInfos))) |
| 10659 |
|
for fieldname in self.InputArgumentDiagnosticInfos: |
| 10660 |
|
packet.append(fieldname.to_binary()) |
| 10661 |
|
packet.append(uabin.Primitives.Int32.pack(len(self.OutputArguments))) |
| 10662 |
|
for fieldname in self.OutputArguments: |
| 10663 |
|
packet.append(fieldname.to_binary()) |
| 10664 |
|
return b''.join(packet) |
| 10665 |
|
|
| 10666 |
|
@staticmethod |
| 10667 |
|
def from_binary(data): |