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

Function encode_sequence

python/ccxt/static_dependencies/ecdsa/der.py:48–50  ·  view source on GitHub ↗
(*encoded_pieces)

Source from the content-addressed store, hash-verified

46
47
48def encode_sequence(*encoded_pieces):
49 total_len = sum([len(p) for p in encoded_pieces])
50 return b'\x30' + encode_length(total_len) + b''.join(encoded_pieces)
51
52
53def encode_number(n):

Callers

nothing calls this directly

Calls 2

encode_lengthFunction · 0.85
sumFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…