Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MearaY/StegaPy
/ _compress_data
Function
_compress_data
StegaPy/util/validation_util.py:3–5 ·
view source on GitHub ↗
压缩数据
(self, data: bytes)
Source
from the content-addressed store, hash-verified
1
# Auto-generated utility file
2
3
def
_compress_data(self, data: bytes) -> bytes:
4
""
"压缩数据"
""
5
return
gzip.compress(data)
6
7
8
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected