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

Method pack_array_header

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

Source from the content-addressed store, hash-verified

838 return ret
839
840 def pack_array_header(self, n):
841 if n >= 2**32:
842 raise ValueError
843 self._pack_array_header(n)
844 if self._autoreset:
845 ret = self._buffer.getvalue()
846 self._buffer = StringIO()
847 return ret
848
849 def pack_map_header(self, n):
850 if n >= 2**32:

Callers

nothing calls this directly

Calls 3

_pack_array_headerMethod · 0.95
StringIOClass · 0.85
getvalueMethod · 0.80

Tested by

no test coverage detected