MCPcopy Index your code
hub / github.com/pyload/pyload / readString

Method readString

module/remote/thriftbackend/Protocol.py:15–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 self.trans.write(str)
14
15 def readString(self):
16 len = self.readI32()
17 str = self.trans.readAll(len)
18 try:
19 str = str.decode("utf8", "ignore")
20 except:
21 pass
22
23 return str
24
25
26class ProtocolFactory(TBinaryProtocol.TBinaryProtocolFactory):

Callers

nothing calls this directly

Calls 3

readAllMethod · 0.80
decodeMethod · 0.80
readI32Method · 0.45

Tested by

no test coverage detected