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

Method to_bytes

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

Source from the content-addressed store, hash-verified

387 aGroupArray: List[CColumnGroup] = field(default_factory=list)
388
389 def to_bytes(self, buffer: bytearray):
390 buffer.extend(struct.pack("<I", len(self.aGroupArray)))
391 for group in self.aGroupArray:
392 group.to_bytes(buffer)
393
394
395# Only the necessary strcuts are included for coercion

Callers

nothing calls this directly

Calls 1

to_bytesMethod · 0.45

Tested by

no test coverage detected