Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ccxt/ccxt
/ encode_bitstring
Function
encode_bitstring
python/ccxt/static_dependencies/ecdsa/der.py:31–32 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
29
30
31
def
encode_bitstring(s):
32
return
b
'\x03'
+ encode_length(len(s)) + s
33
34
35
def
encode_octet_string(s):
Callers
nothing calls this directly
Calls
1
encode_length
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…