MCPcopy Create free account
hub / github.com/ccxt/ccxt / write

Method write

python/ccxt/static_dependencies/msgpack/fallback.py:26–31  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

24 self.builder = StringBuilder()
25
26 def write(self, s):
27 if isinstance(s, memoryview):
28 s = s.tobytes()
29 elif isinstance(s, bytearray):
30 s = bytes(s)
31 self.builder.append(s)
32
33 def getvalue(self):
34 return self.builder.build()

Callers 15

packFunction · 0.80
_packMethod · 0.80
pack_ext_typeMethod · 0.80
_pack_array_headerMethod · 0.80
_pack_map_headerMethod · 0.80
_pack_raw_headerMethod · 0.80
_pack_bin_headerMethod · 0.80
__init__Method · 0.80
pydot__tree_to_dotFunction · 0.80
showwarning_as_commentFunction · 0.80
serializeFunction · 0.80
write_fileMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected