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

Function Decode

crawler/dht/bencode.go:192–195  ·  view source on GitHub ↗

Decode decodes a bencoded string to string, int, list or map.

(data []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

handleFunction · 0.85
TestDecodeStringFunction · 0.85
TestDecodeIntFunction · 0.85
TestDecodeListFunction · 0.85
TestDecodeDictFunction · 0.85
getUTMetaSizeFunction · 0.85

Calls 1

decodeItemFunction · 0.85

Tested by 4

TestDecodeStringFunction · 0.68
TestDecodeIntFunction · 0.68
TestDecodeListFunction · 0.68
TestDecodeDictFunction · 0.68