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

Function _compress_data

StegaPy/util/config_util.py:23–25  ·  view source on GitHub ↗

压缩数据

(self, data: bytes)

Source from the content-addressed store, hash-verified

21
22
23 def _compress_data(self, data: bytes) -> bytes:
24 """压缩数据"""
25 return gzip.compress(data)
26
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected