MCPcopy Create free account
hub / github.com/RedTeamPentesting/wspcoerce / to_bytes

Method to_bytes

wspcoerce/packets.py:305–308  ·  view source on GitHub ↗
(self, buffer: bytearray)

Source from the content-addressed store, hash-verified

303 sortArray: List[int] = field(default_factory=list)
304
305 def to_bytes(self, buffer: bytearray):
306 buffer.extend(struct.pack("<I", len(self.sortArray)))
307 for sort in self.sortArray:
308 buffer.extend(struct.pack("<I", sort))
309
310
311@dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected