MCPcopy Create free account
hub / github.com/Olament/gDHT / Encode

Function Encode

crawler/dht/bencode.go:250–263  ·  view source on GitHub ↗

Encode encodes a string, int, dict or list value to a bencoded string.

(data interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

sendFunction · 0.85
sendExtHandshakeFunction · 0.85
requestPiecesMethod · 0.85

Calls 4

EncodeStringFunction · 0.85
EncodeIntFunction · 0.85
EncodeListFunction · 0.85
EncodeDictFunction · 0.85

Tested by

no test coverage detected