Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
586
def
_read_except(fp, n):
587
data = fp.read(n)
588
if
len(data) < n:
589
raise
InsufficientDataException()
590
return
data
591
592
593
def
_unpack_integer(code, fp, options):
Callers
8
_unpack_integer
Function · 0.85
_unpack_float
Function · 0.85
_unpack_string
Function · 0.85
_unpack_binary
Function · 0.85
_unpack_ext
Function · 0.85
_unpack_array
Function · 0.85
_unpack_map
Function · 0.85
_unpack
Function · 0.85
Calls
2
InsufficientDataException
Class · 0.85
read
Method · 0.80
Tested by
no test coverage detected