MCPcopy
hub / github.com/GoSecure/pyrdp / writeErectDomainRequest

Method writeErectDomainRequest

pyrdp/parser/mcs.py:319–327  ·  view source on GitHub ↗

Encode a Erect Domain Request PDU :param stream: The destination stream to write into. :param pdu: the PDU to encode.

(self, stream: BytesIO, pdu: MCSErectDomainRequestPDU)

Source from the content-addressed store, hash-verified

317 stream.write(allData)
318
319 def writeErectDomainRequest(self, stream: BytesIO, pdu: MCSErectDomainRequestPDU):
320 """
321 Encode a Erect Domain Request PDU
322 :param stream: The destination stream to write into.
323 :param pdu: the PDU to encode.
324 """
325 stream.write(per.writeInteger(pdu.subHeight))
326 stream.write(per.writeInteger(pdu.subInterval))
327 stream.write(pdu.payload)
328
329 def writeDisconnectProviderUltimatum(self, stream: BytesIO, pdu: MCSDisconnectProviderUltimatumPDU):
330 """

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected