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

Method encode

tools/python-3.11.9-amd64/Lib/xmlrpc/client.py:422–426  ·  view source on GitHub ↗
(self, out)

Source from the content-addressed store, hash-verified

420 self.data = base64.decodebytes(data)
421
422 def encode(self, out):
423 out.write("<value><base64>\n")
424 encoded = base64.encodebytes(self.data)
425 out.write(encoded.decode('ascii'))
426 out.write("</base64></value>\n")
427
428def _binary(data):
429 # decode xml element contents into a Binary structure

Callers 9

dump_instanceMethod · 0.45
end_base64Method · 0.45
__requestMethod · 0.45
_marshaled_dispatchMethod · 0.45
do_POSTMethod · 0.45
_marshaled_dispatchMethod · 0.45
handle_getMethod · 0.45
do_GETMethod · 0.45
handle_getMethod · 0.45

Calls 2

writeMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected