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

Method dump_bytes

tools/python-3.11.9-amd64/Lib/xmlrpc/client.py:573–577  ·  view source on GitHub ↗
(self, value, write)

Source from the content-addressed store, hash-verified

571 dispatch[str] = dump_unicode
572
573 def dump_bytes(self, value, write):
574 write("<value><base64>\n")
575 encoded = base64.encodebytes(value)
576 write(encoded.decode('ascii'))
577 write("</base64></value>\n")
578 dispatch[bytes] = dump_bytes
579 dispatch[bytearray] = dump_bytes
580

Callers

nothing calls this directly

Calls 2

writeFunction · 0.50
decodeMethod · 0.45

Tested by

no test coverage detected