MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / r_string

Method r_string

tools/python-3.11.9-amd64/Tools/scripts/umarshal.py:96–100  ·  view source on GitHub ↗
(self, n: int)

Source from the content-addressed store, hash-verified

94 self.level: int = 0
95
96 def r_string(self, n: int) -> bytes:
97 assert 0 <= n <= self.end - self.pos
98 buf = self.data[self.pos : self.pos + n]
99 self.pos += n
100 return buf
101
102 def r_byte(self) -> int:
103 buf = self.r_string(1)

Callers 7

r_byteMethod · 0.95
r_shortMethod · 0.95
r_longMethod · 0.95
r_long64Method · 0.95
r_float_binMethod · 0.95
r_float_strMethod · 0.95
_r_objectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected