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

Function encode_constructed

python/ccxt/static_dependencies/ecdsa/der.py:11–12  ·  view source on GitHub ↗
(tag, value)

Source from the content-addressed store, hash-verified

9
10
11def encode_constructed(tag, value):
12 return int.to_bytes(0xa0+tag, 1, 'big') + encode_length(len(value)) + value
13
14
15def encode_integer(r):

Callers

nothing calls this directly

Calls 2

encode_lengthFunction · 0.85
to_bytesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…