コード例 #1
0
ファイル: swf.py プロジェクト: victorvde/dota2_nohats
 def pack(self, s):
     fs = FakeWriteStream()
     self["content"].pack(fs)
     self["header"].data["length"] = fs.tell()
     Struct.pack(self, s)
コード例 #2
0
ファイル: swf.py プロジェクト: hanfan1803/dota2_nohats
 def pack(self, s):
     fs = FakeWriteStream()
     self["content"].pack(fs)
     self["header"].data["length"] = fs.tell()
     Struct.pack(self, s)
コード例 #3
0
ファイル: swf.py プロジェクト: victorvde/dota2_nohats
 def pack(self, s):
     with BitWriteStream(s) as bs:
         Struct.pack(self, bs)
コード例 #4
0
ファイル: swf.py プロジェクト: hanfan1803/dota2_nohats
 def pack(self, s):
     with BitWriteStream(s) as bs:
         Struct.pack(self, bs)