MCPcopy
hub / github.com/jtesta/ssh-audit / write

Method write

src/ssh_audit/writebuf.py:37–39  ·  view source on GitHub ↗
(self, data: bytes)

Source from the content-addressed store, hash-verified

35 self._wbuf = io.BytesIO(data) if data is not None else io.BytesIO()
36
37 def write(self, data: bytes) -> 'WriteBuf':
38 self._wbuf.write(data)
39 return self
40
41 def write_byte(self, v: int) -> 'WriteBuf':
42 return self.write(struct.pack('B', v))

Callers 6

read_packetMethod · 0.95
write_byteMethod · 0.95
write_intMethod · 0.95
write_stringMethod · 0.95
write_mpint1Method · 0.95
write_lineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected