MCPcopy Create free account
hub / github.com/MearaY/StegaPy / write

Method write

StegaPy/plugin/lsb/lsb_output_stream.py:31–32  ·  view source on GitHub ↗
(self, data: bytes)

Source from the content-addressed store, hash-verified

29 self._buffer = bytearray(self.header.to_bytes())
30
31 def write(self, data: bytes):
32 self._buffer.extend(data)
33
34 def flush(self):
35 self._embed(bytes(self._buffer))

Callers 7

embed_dataMethod · 0.95
_writeFunction · 0.45
data_hiding_uiFunction · 0.45
watermarking_uiFunction · 0.45
extract_dataMethod · 0.45
_save_signatureMethod · 0.45
bytes_to_fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected