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

Function _compress_data

StegaPy/util/string_util.py:43–45  ·  view source on GitHub ↗

压缩数据

(self, data: bytes)

Source from the content-addressed store, hash-verified

41 )
42
43 def _compress_data(self, data: bytes) -> bytes:
44 """压缩数据"""
45 return gzip.compress(data)
46
47 def extract_data(self, stego_data: bytes,
48 stego_filename: Optional[str]) -> List:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected