Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MearaY/StegaPy
/ get_data_length
Method
get_data_length
StegaPy/plugin/lsb/lsb_data_header.py:36–38 ·
view source on GitHub ↗
获取数据长度
(self)
Source
from the content-addressed store, hash-verified
34
raise
ValueError(f
"文件名编码后长度不能超过{self.MAX_FILENAME_LENGTH}字节"
)
35
36
def
get_data_length(self):
37
""
"获取数据长度"
""
38
return
self.data_length
39
40
def
get_filename(self):
41
""
"获取文件名"
""
Callers
4
read
Method · 0.80
extract_data
Method · 0.80
extract_data
Method · 0.80
read
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected