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

Method reset

python/ccxt/static_dependencies/msgpack/fallback.py:939–944  ·  view source on GitHub ↗

Reset internal buffer. This method is useful only when autoreset=False.

(self)

Source from the content-addressed store, hash-verified

937 return self._buffer.getvalue()
938
939 def reset(self):
940 """Reset internal buffer.
941
942 This method is useful only when autoreset=False.
943 """
944 self._buffer = StringIO()
945
946 def getbuffer(self):
947 """Return view of internal buffer."""

Callers

nothing calls this directly

Calls 1

StringIOClass · 0.85

Tested by

no test coverage detected