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

Method fillbuf

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

Source from the content-addressed store, hash-verified

226 return
227
228 def fillbuf(self):
229 if self.charpos < len(self.buf): return
230 while 1:
231 self.fillfp()
232 self.bufpos = self.fp.tell()
233 self.buf = self.fp.read(self.BUFSIZ)
234 if self.buf: break
235 self.fp = None
236 self.charpos = 0
237 return
238
239 def get_inline_data(self, pos, target='EI'):
240 self.seek(pos)

Callers 1

get_inline_dataMethod · 0.95

Calls 4

fillfpMethod · 0.95
lenFunction · 0.85
tellMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected