Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fortra/impacket
/ fromFile
Method
fromFile
impacket/structure.py:109–112 ·
view source on GitHub ↗
(self, file)
Source
from the content-addressed store, hash-verified
107
108
@classmethod
109
def
fromFile(self, file):
110
answer = self()
111
answer.fromString(file.read(len(answer)))
112
return
answer
113
114
def
setAlignment(self, alignment):
115
self.alignment = alignment
Callers
2
readHeaderOnce
Method · 0.80
read
Method · 0.80
Calls
2
fromString
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected