コード例 #1
0
ファイル: ctypedbytes.py プロジェクト: soxofaan/ctypedbytes
 def reads(self):
     next = reads(self.file, self.lookup).next
     while True:
         key = next()
         try:
             value = next()
         except StopIteration:
             raise StructError('EOF before second item in pair')
         yield key, value
コード例 #2
0
ファイル: ctypedbytes.py プロジェクト: bwhite/ctypedbytes
 def reads(self):
     next = reads(self.file, self.lookup).next
     while True:
         key = next()
         try:
             value = next()
         except StopIteration:
             raise StructError('EOF before second item in pair')
         yield key, value
コード例 #3
0
ファイル: ctypedbytes.py プロジェクト: soxofaan/ctypedbytes
 def reads(self):
     return reads(self.file, self.lookup)
コード例 #4
0
ファイル: ctypedbytes.py プロジェクト: bwhite/ctypedbytes
 def reads(self):
     return reads(self.file, self.lookup)