Registry / serialization / zeebo-bencode

zeebo-bencode

JSON →
library1.0.0gogounverified

Package bencode implements encoding and decoding of bencoded objects, similar to the encoding/json package.

go get github.com/zeebo/bencode
INSTALL
IMPORT
SIG · ZEEBO-BENCODE
Z
zeebo-bencode
serializationgov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bencode
github.com/zeebo/bencode

Encodes a map into bencode format.

package main import ( "fmt" "github.com/zeebo/bencode" ) func main() { data := map[string]interface{}{"name": "test", "value": 123} encoded, _ := bencode.Encode(data) fmt.Println(string(encoded)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
OpenAI (training)
1
Resources
zeebo-bencode — go get zeebo-bencode · libregistry