MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / _read_except

Function _read_except

src/fallback/umsgpack/umsgpack.py:586–590  ·  view source on GitHub ↗
(fp, n)

Source from the content-addressed store, hash-verified

584
585
586def _read_except(fp, n):
587 data = fp.read(n)
588 if len(data) < n:
589 raise InsufficientDataException()
590 return data
591
592
593def _unpack_integer(code, fp, options):

Callers 8

_unpack_integerFunction · 0.85
_unpack_floatFunction · 0.85
_unpack_stringFunction · 0.85
_unpack_binaryFunction · 0.85
_unpack_extFunction · 0.85
_unpack_arrayFunction · 0.85
_unpack_mapFunction · 0.85
_unpackFunction · 0.85

Calls 2

readMethod · 0.80

Tested by

no test coverage detected