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

Method pack_map_header

python/ccxt/static_dependencies/msgpack/fallback.py:849–856  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

847 return ret
848
849 def pack_map_header(self, n):
850 if n >= 2**32:
851 raise ValueError
852 self._pack_map_header(n)
853 if self._autoreset:
854 ret = self._buffer.getvalue()
855 self._buffer = StringIO()
856 return ret
857
858 def pack_ext_type(self, typecode, data):
859 if not isinstance(typecode, int):

Callers

nothing calls this directly

Calls 3

_pack_map_headerMethod · 0.95
StringIOClass · 0.85
getvalueMethod · 0.80

Tested by

no test coverage detected