MCPcopy Create free account
hub / github.com/rthalley/dnspython / remaining

Method remaining

dns/wire.py:29–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 self.furthest = current
28
29 def remaining(self) -> int:
30 return self.end - self.current
31
32 def get_bytes(self, size: int) -> bytes:
33 assert size >= 0

Callers 15

get_bytesMethod · 0.95
get_remainingMethod · 0.95
restrict_toMethod · 0.95
test_basicMethod · 0.95
test_nameMethod · 0.95
test_relativized_nameMethod · 0.95
test_compressed_nameMethod · 0.95
readMethod · 0.80
from_wire_parserMethod · 0.80
from_wire_parserMethod · 0.80
from_wire_parserMethod · 0.80
from_wire_parserMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_basicMethod · 0.76
test_nameMethod · 0.76
test_relativized_nameMethod · 0.76
test_compressed_nameMethod · 0.76