MCPcopy Index your code
hub / github.com/clips/pattern / fillfp

Method fillfp

pattern/web/pdf/pdfinterp.py:213–221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

211 return
212
213 def fillfp(self):
214 if not self.fp:
215 if self.istream < len(self.streams):
216 strm = stream_value(self.streams[self.istream])
217 self.istream += 1
218 else:
219 raise PSEOF('Unexpected EOF, file truncated?')
220 self.fp = StringIO(strm.get_data())
221 return
222
223 def seek(self, pos):
224 self.fillfp()

Callers 2

seekMethod · 0.95
fillbufMethod · 0.95

Calls 4

stream_valueFunction · 0.90
PSEOFClass · 0.90
lenFunction · 0.85
get_dataMethod · 0.80

Tested by

no test coverage detected