MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _read_arg

Method _read_arg

lib/matplotlib/dviread.py:378–383  ·  view source on GitHub ↗

Read and return a big-endian integer *nbytes* long. Signedness is determined by the *signed* keyword.

(self, nbytes, signed=False)

Source from the content-addressed store, hash-verified

376 return False
377
378 def _read_arg(self, nbytes, signed=False):
379 """
380 Read and return a big-endian integer *nbytes* long.
381 Signedness is determined by the *signed* keyword.
382 """
383 return int.from_bytes(self.file.read(nbytes), "big", signed=signed)
384
385 @_dispatch(min=0, max=127, state=_dvistate.inpage)
386 def _set_char_immediate(self, char):

Callers 5

_define_native_fontMethod · 0.95
_set_glyphsMethod · 0.95
_set_text_and_glyphsMethod · 0.95
dviread.pyFile · 0.80
_readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected