Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ccxt/ccxt
/ encode_octet_string
Function
encode_octet_string
python/ccxt/static_dependencies/ecdsa/der.py:35–36 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
33
34
35
def
encode_octet_string(s):
36
return
b
'\x04'
+ encode_length(len(s)) + s
37
38
39
def
encode_oid(first, second, *pieces):
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…